VSCode Python中的多进程调试

时间:2018-05-14 22:49:28

标签: python visual-studio-code

我正在运行一个生成子流程的python程序。当一个新流程启动时,我得到:

dothemath

如何启用此选项?它看起来像是一个pydev选项?

我在Visual Studio代码中运行python 3.6并将调试器配置类型设置为pydev debugger: New process is launching (breakpoints won't work in the new process). pydev debugger: To debug that process please enable 'Attach to subprocess automatically while debugging?' option in the debugger settings.

1 个答案:

答案 0 :(得分:0)

在django的调试设置中检查args,使用“ --noreload”

    "args": [
        "runserver",
        //reload server everytime files changed
        "--noreload",
        "--nothreading"]