Determine debug mode based on the debugger's presence