vscode launch.json 配置模板

记录一个python的配置模板,详细需要参考官方的文档

"configurations": [
        {
            "name": "name-***",
            "type": "debugpy",
            "request": "launch",
            "program": "${workspaceFolder}/***.py",
            // "python": "${command:python.interpreterPath}", //默认选择的环境
            "args": [
                "-n", "***", //输入参数,','表示空格
            ]
        },]
posted @ 2024-11-27 22:11  阿奘  阅读(129)  评论(0)    收藏  举报