2 ms·
Python supports something analogous since 3.7 (https://docs.python.org/3/library/functions.html#breakpoint https://docs.python.org/3/library/functions.html#brea
by zahlman 2y ago
Python supports something analogous since 3.7 (https://docs.python.org/3/library/functions.html#breakpoint https://docs.python.org/3/library/functions.html#breakpoint). (Before that, you could put a breakpoint in the code using the standard library `pdb.set_trace()`, but you couldn't "detach" the debugger with an environment variable - only by monkey-patching the `set_trace` name.)