如何永久禁用 VS Code 中的断点,使其根本不出现?

Lik*_*nox 2 configuration breakpoints visual-studio-code

我使用VSCode很长时间了,不知道如何解决这个问题。

请不要将我的要求与添加断点后删除断点混淆。我只是想将它们全部禁用。

这是我引用的断点的图像:

在此输入图像描述

Wen*_* Du 11

// Controls whether the editor should render the vertical glyph margin.
// The Glyph margin is mainly used for debugging.
"editor.glyphMargin": false
Run Code Online (Sandbox Code Playgroud)

将上述设置粘贴到您的 VSCode 中settings.json

或者,转到视觉设置编辑器并搜索“字形边距”,这将带您进入此部分:

UI中相关设置

禁用此设置。

  • 这应该是批准的评论,这正是以最简单的方法提出的要求! (2认同)