detect if debuggger is running