admin管理员组文章数量:1359210
I'm trying to debug a Unity project using VSCode. I'd like to be able to enable and disable breakpoints without the Unity project losing focus (some input related bugs are hard to reproduce without keeping the mouse cursor in the editor). Is there a way to set up keybindings that will be picked up by VSCode without affecting Unity?
In the current case I need to turn breakpoints on when I'm hovering over a specific cell, but not any of the adjacent cells, and only after the bug has randomly occurred. I might be able to set up a complex conditional breakpoint but it would be easier if I could just turn breakpoints on with a keypress. As far as I can see VSCode needs to have focus in order to receive keypresses, and if it gains focus that messes up my cell hovering.
I've had a look through the debugger settings on the C# extension but I can't see anything that looks helpful.
本文标签:
版权声明:本文标题:visual studio code - Is there a way to control the debug functions in VSCode when another program has focus? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744081821a2587782.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论