mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-45659 Python isolated mode (-I) breaks subprocess debugging (pr #1488)
Signed-off-by: Elizaveta Shashkova <elizaveta.shashkova@jetbrains.com> IDEA-CR-69971 GitOrigin-RevId: 9db39b45fe40dd7d60af38c49d9cbb76870ac7f6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
69ddf4c068
commit
6e3c457f43
@@ -3,10 +3,16 @@ Entry point module (keep at root):
|
||||
|
||||
This module starts the debugger.
|
||||
'''
|
||||
import os
|
||||
import sys
|
||||
from contextlib import contextmanager
|
||||
import weakref
|
||||
|
||||
# allow the debugger to work in isolated mode Python
|
||||
here = os.path.dirname(os.path.abspath(__file__))
|
||||
if here not in sys.path:
|
||||
sys.path.insert(0, here)
|
||||
|
||||
from _pydevd_bundle.pydevd_collect_try_except_info import collect_return_info
|
||||
|
||||
if sys.version_info[:2] < (2, 6):
|
||||
|
||||
Reference in New Issue
Block a user