better debug log when not running