美文网首页
VSCode 在 Python gevent 环境下进行调试

VSCode 在 Python gevent 环境下进行调试

作者: 承诺一时的华丽 | 来源:发表于2021-07-22 15:52 被阅读0次
    • launch.json中添加运行环境变量参数"gevent": true
    {
        // Use IntelliSense to learn about possible attributes.
        // Hover to view descriptions of existing attributes.
        // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Python: 当前文件",
                "type": "python",
                "request": "launch",
                "program": "${file}",
                "console": "integratedTerminal",
                "gevent": true // 新增参数
            }
        ]
    }
    

    相关文章

      网友评论

          本文标题:VSCode 在 Python gevent 环境下进行调试

          本文链接:https://www.haomeiwen.com/subject/kptymltx.html