Node.js Debugging Guide is a Chinese-language technical book and repository about diagnosing performance, memory, code, and production problems in Node.js. Its CPU section introduces Linux perf, FlameGraph, V8 profiling, and the Tick Processor. Memory chapters cover core dumps, llnode, heap snapshots, leak detection, and CPU or memory monitoring. Code-level material examines promises, async and await, stack traces, the event loop, native Rust add-ons, and uncaught exceptions. Tooling lessons use source maps, Chrome DevTools, Visual Studio Code, debugging modules, REPL utilities, and hot reload. Additional chapters cover New Relic, Elastic APM, ELK, Jaeger, Sentry, Telegraf, InfluxDB, Grafana, Node Clinic, and AliNode. It serves as a broad troubleshooting reference for older Node.js environments.
Features
- CPU profiling and FlameGraph analysis
- Heap snapshots and memory leak detection
- Event loop and asynchronous code debugging
- Chrome DevTools and Visual Studio Code workflows
- APM, logging, tracing, and error reporting
- Production monitoring and diagnostic tools