Created simple DebugParser that handles debug mode. Debug flag no longer required.