debugging 如何关闭氢Python扩展的冻结模块?

nfeuvbwi  于 2023-03-19  发布在  Python
关注(0)|答案(1)|浏览(1005)

日安,我安装了python 3.11b,当我使用Atom的氢插件时,它向我显示了这个警告,我在哪里以及如何应用下面的这些命令来删除消息?

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.
Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
68de4m5k

68de4m5k1#

你可以将-Xfrozen_modules=off传递给python,假设你使用的是Python 3,输入你的终端/PowerShell:python3 -Xfrozen_modules=off。类似地,如果要禁用验证进程,则为python3 PYDEVD_DISABLE_FILE_VALIDATION=1

相关问题