Changed the flags module to allow debugger specific flags