[Python] vscode debugger warning on frozen modules

Discussão em 'Python' iniciado por Stack, Junho 4, 2025.

  1. Stack

    Stack Membro Participativo

    Trying to use the multiprocessing module to run some code. I need to use the python debugger to pass '-Xfrozen_modules=off' but using args or pythonArgs in launch.json doesn't seem to work.

    0.01s - Debugger warning: It seems that frozen modules are being used, which may
    0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
    0.00s - to python to disable frozen modules.
    0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.


    I passed '-Xfrozen_modules=off' using args and pythonArgs in launch.json but that didn't work.

    Python 3.11.2

    Continue reading...

Compartilhe esta Página