简体   繁体   English

在vscode调试模式下,进入workspace根目录下的子文件夹?

[英]In vscode debug mode, enter the subfolder of the root directory of the workspace?

My execution file is in a subfolder under the root directory of the workspace.我的执行文件位于工作区根目录下的子文件夹中。 How can I enter the corresponding subfolder instead of automatically entering the root directory of the workspace in debug mode?调试模式下如何进入对应的子文件夹而不是自动进入工作区的根目录?

you can use the variable ${relativeFileDirname} in your launch config您可以在启动配置中使用 变量${relativeFileDirname}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 VSCode 未在 windows 的 WSL 模式下的工作区中设置 PYTHONPATH - VSCode not setting PYTHONPATH in workspace in WSL mode in windows vscode 多根工作区:在 env 文件中指定 python 路径 - vscode multi-root workspace: specifying python path in env files 存储库与工作区根目录中的 VSCode Python Linting.pylintrc - VSCode Python Linting .pylintrc in repository vs workspace root 在 python 中使用带调试模式的 vscode 进行多处理 - Use vscode with debug mode with multiprocessing in python VSCode多项目工作区:如何在工作区根目录下添加.gitignore等单个文件? - VSCode multi-project workspace: how to add individual files such as the .gitignore at the root of the workspace? 使用 sshfs 在工作区中挂载目录后,VScode 自动完成功能不起作用 - VScode autocomplete not working after using sshfs to mount a directory inside the workspace 由于 PyDev FileNotFoundError,VSCode 调试模式有时无法工作 - VSCode Debug Mode sometimes does not work due to a PyDev FileNotFoundError 如何在调试模式下运行 fastapi 项目在 vscode 中自动重新加载 - how to run fastapi project in debug mode auto reload in vscode 如何让.py文件从文件目录而不是vscode中的工作区目录运行? - How to get .py file to run from directory of file instead of workspace directory in vscode? 如何自动将根目录添加到VSCode中的python路径? - How to automatically add the root directory to the python path in VSCode?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM