main: added --debug-noexit option, don't exit when debugging