gpt4 book ai didi

visual-studio-code - 在 Visual Studio Code 中添加断点

转载 作者:行者123 更新时间:2023-12-04 02:35:45 28 4
gpt4 key购买 nike

我一定是在做一些愚蠢的错误,因为我似乎无法在 Visual Studio Code 中添加断点。

当我右键单击我的代码时会弹出以下内容。 (在行号旁边左键单击也不起作用)

enter image description here

我在这里阅读了文档 https://code.visualstudio.com/docs/editor/debugging#_breakpoints

它指出:

Breakpoints can be toggled by clicking on the editor margin.



我不知道它是什么或在哪里找到它。至少可以说缺乏针对初学者的文档。

最佳答案

转至 VS->Settings->Debug并将“debug.allowBreakpointsEverywhere”更改为true。

关于visual-studio-code - 在 Visual Studio Code 中添加断点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38923386/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com