VSCode — how to set working directory for debug

前端 未结 7 1445
耶瑟儿~
耶瑟儿~ 2020-11-27 03:10

I\'m starting to use vscode for Python. I have a simple test program. I want to run it under debug and I need to set the working directory for the run.

How/where d

7条回答
  •  情书的邮戳
    2020-11-27 03:42

    You can set up current working directory for debugged program using cwd argument in launch.json

提交回复
热议问题