The "detach" command is only valid if the debugger has been attached to a set of tasks.
Use quit to exit the debugger if running in normal mode.