擅长:python、mysql、java
<p>在<a href="https://code.visualstudio.com/docs/editor/debugging#_launch-configurations" rel="nofollow noreferrer">launch config</a>中,将CWD更改为文件夹</p>
<pre><code>{
"version": "0.2.0",
"configurations": [
{
....,
"cwd" : "${workspaceFolder}/${relativeFileDirname}"
}
]
}
</code></pre>