admin管理员组文章数量:1303327
We have a monorepo with about a dozen controller projects and are starting to move over to vscode and generally like cortex-debug a lot.
The only issue is that the number of projects x number of debuggers makes the dropdown to start a debug session a bit unwieldy. As we're already using things like "cwd": "${fileDirname}"
, it'd be great if we could set device and svdFile based on a config or env file in the respective project folder.
We already have a preLaunch task running a shell script with make etc, the problem here is that this runs in a different shell and thus setting env
variables doesn't persist into the cortex-debug session. We also tried various ways to use project folder .vscode/settings.json
's and then ${config:...}
but cortex-debug doesn't seem like it can use those either.
Any thoughts and ideas, even if a bit hackish, very much appreciated.
本文标签: visual studio codeProgrammatically pass device and svdFile to cortexdebugStack Overflow
版权声明:本文标题:visual studio code - Programmatically pass device and svdFile to cortex-debug - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741746469a2395562.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论