add commandlinecheck

check commandline for -debug
added TYPE for debugmodus and options