added debug mode command line helper