[wingide-users] How to find whether WING IDE is attached to the debugger

Dietmar Schwertberger maillist at schwertberger.de
Sat Jul 19 10:41:54 EDT 2014


Some of my scripts should import wingdbstub, such that I can later 
attach the debugger to them.

In this case os.environ.get("WINGDB_ACTIVE") is always '1'.

Is there a way to find whether WING IDE is really attached to the debugger?
I would like the exception handling to be different in this case 
(re-raise exceptions).



More information about the wingide-users mailing list