mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix #1148: ModuleNotFoundError: No module named 'debugpy'
Fix #1149: UserWarning: incompatible copy of pydevd already imported Fix formatting for sys.path entry passed to subprocesses.
This commit is contained in:
parent
19ea6f2625
commit
633597b1b5
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ pydevd_defaults.PydevdCustomization.DEBUG_MODE = 'debugpy-dap'
|
|||
|
||||
# This is important when pydevd attaches automatically to a subprocess. In this case, we have to
|
||||
# make sure that debugpy is properly put back in the game for users to be able to use it.
|
||||
pydevd_defaults.PydevdCustomization.PREIMPORT = '%r;%s' % (
|
||||
pydevd_defaults.PydevdCustomization.PREIMPORT = '%s;%s' % (
|
||||
os.path.dirname(os.path.dirname(debugpy.__file__)),
|
||||
'debugpy._vendored.force_pydevd'
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue