Add --debug option

Adds additional logging for working on jpm itself