better debug log when not running
Merge pull request #2 from whitehats/better_debug_log

better debug log when not running