CoffeeScript debugging with node-inspector
✓ Published0🌍 Public
AAnsonT
Last edited Jul 30, 2011
Created on Jul 30, 2011
This example shows a live debugging workflow for CoffeeScript applications, pairing the node-inspector debugger with a Chrome browser interface. The code launches a Node.js process with the `--debug` flag and opens two Chrome tabs: one pointed at the debugger’s WebSocket endpoint (`http://127.0.0.1:8080/debug?port=5858`) and another at the app’s local server (`http://127.0.0.1:3000`). It relies on Node’s built-in debugging API and the `node-inspector` library to provide a visual, DevTools-like interface. The rendering approach is entirely DOM-based via Chrome, with no custom visualization libraries involved.
AI-generated description