JavaScript 调试指南

Visual Studio Code 通过内置或由扩展提供的调试器,支持多种语言和平台的调试。

为了让你更容易上手调试,我们收集了一系列调试“方案”,其中包含为你喜爱的平台设置调试所需的步骤和配置。这些方案存放在 GitHub 上:https://github.com/microsoft/vscode-recipes

在 Node.js 中调试服务端 JavaScript

Visual Studio Code 编辑器通过内置的 Node.js 调试器支持调试 Node.js 应用程序。

Node.js logo

方案

在浏览器中调试客户端 JavaScript

Visual Studio Code 编辑器支持调试运行在 Microsoft EdgeGoogle Chrome 中的 JavaScript。

JavaScript, Edge, and Chrome logo

你可以在 浏览器调试文档 中了解更多关于浏览器调试工作原理的内容。

方案

博客文章:

Electron - 调试 Electron 应用程序

Visual Studio Code 编辑器通过内置的 JavaScript 调试器支持调试 Electron 应用程序。

electron logo

方案

下一步计划

English 한국어 中文(简体) 中文(繁體)
© . This website operates independently and is not affiliated with or endorsed by Microsoft. All brand names, logos, and trademarks are the property of their respective owners.