Is there a simple way to detect, within Python code, that this code is being executed through the Python debugger?
I have a small Python application that uses Java c
Other alternative if you're using Pydev that also works in a multithreading is:
try: import pydevd DEBUGGING = True except ImportError: DEBUGGING = False