Parse --debug switch from command line
Simple debugger