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.
Record the following information before starting an investigation:
- The Node.js version and operating system
- The observed symptoms and when they occur
- The steps needed to reproduce the problem
- Recent changes to the application or its environment
Start with the guide that most closely matches the symptoms:
- For incorrect or unexpected application behavior, see Live Debugging.
- For increasing memory use, out-of-memory crashes, or frequent garbage collection, see Memory.
- For high latency or CPU usage, see Poor Performance.
Each guide provides more specific symptoms and links to the relevant diagnostic tools and techniques.
These guides were created by the Diagnostics Working Group and the Node.js Website Team.