mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert "Revert "[jupyter] PY-85835 Colab: Add variable view support""
This reverts commit e209051a303c12830fcc90fdc10478cbaf1c2bdf. GitOrigin-RevId: d3bcf0d1cea21cf936ce13b384387a5f0be196c0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bbd359cd28
commit
521f78d4e9
@@ -59,7 +59,7 @@ def remove_imported_pydev_package():
|
||||
re-import again (with proper sys.path)
|
||||
"""
|
||||
pydev_module = sys.modules.get('pydevd', None)
|
||||
if pydev_module is not None and 'site-packages' in str(pydev_module):
|
||||
if pydev_module is not None and ('site-packages' in str(pydev_module) or 'debugpy/_vendored' in str(pydev_module)):
|
||||
import os
|
||||
pydev_dir = os.listdir(os.path.dirname(pydev_module.__file__))
|
||||
pydev_dir.append('pydevd')
|
||||
|
||||
Reference in New Issue
Block a user