Skip to content

Commit 8363f25

Browse files
committed
debugpy requires -Xfrozen_modules=off
Debugpy now outputs the following message at startup: "Debugger warning: It seems that frozen modules are being used, which may make the debugger miss breakpoints. Please pass -Xfrozen_modules=off to python to disable frozen modules."
1 parent 764408d commit 8363f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debugpy_run.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def main():
141141
cargs = (' ' + ' '.join(cargslist)) if cargslist else ''
142142

143143
cmdargs = f'--{ctype} {args.port}{wait}{cargs}{logto} {mainargs}'
144-
command = f'python3 {cmd} {cmdargs}'.split()
144+
command = f'python3 -Xfrozen_modules=off {cmd} {cmdargs}'.split()
145145
if args.args:
146146
command.extend(args.args)
147147
xargs = ' ' + ' '.join(args.args)

0 commit comments

Comments
 (0)