moved all debug options to debugmain.py