On this page

🌐 User Journey

诊断是收集和分析关于应用的信息的过程,用于确定意外行为、内存问题或性能不佳的原因。这些指南围绕常见症状组织了这个过程,并链接到可以帮助调查它们的工具和技术。

🌐 Diagnostics is the process of collecting and analyzing information about an application to identify the cause of unexpected behavior, memory problems, or poor performance. These guides organize that process around common symptoms and link to tools and techniques that can help investigate them.

🌐 Before you begin

在开始调查之前,先记录以下信息:

🌐 Record the following information before starting an investigation:

  • Node.js 版本和操作系统
  • 观察到的症状以及它们出现的时间
  • 重现问题所需的步骤
  • 应用或其环境的最近更改

🌐 Choose a diagnostic path

从最符合症状的指南开始:

🌐 Start with the guide that most closely matches the symptoms:

  • 对于不正确或意外的应用行为,请参见 实时调试
  • 如果内存使用增加、发生内存不足崩溃或频繁垃圾回收,请参见 内存
  • 对于高延迟或 CPU 使用率,请查看 性能不佳

每本指南都提供了更具体的症状,并链接到相关的诊断工具和技术。

🌐 Each guide provides more specific symptoms and links to the relevant diagnostic tools and techniques.

这些指南是由诊断工作组Node.js 网站团队创建的。

🌐 These guides were created by the Diagnostics Working Group and the Node.js Website Team.