Article: https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devto...
tl;dr: In Node nightly (and Node 7, once it's released), `node --inspect server.js` will enable interaction with Chrome's devtools for debugging, profiling, heap snapshotting etc. Currently, this requires https://github.com/node-inspector/node-inspector.
Gabriel
Actually, this was backported to Node v6 earlier this year and already released as v6.3.0.
https://www.mediawiki.org/wiki/Node.js_debugging#Chrome_DevTools
https://nodejs.org/en/blog/release/v6.3.0/
-- Timo
On 12 August 2016 at 12:02, Gabriel Wicke gwicke@wikimedia.org wrote:
Article: https://medium.com/@paul_irish/debugging-node-js- nightlies-with-chrome-devtools-7c4a1b95ae27
tl;dr: In Node nightly (and Node 7, once it's released), `node --inspect server.js` will enable interaction with Chrome's devtools for debugging, profiling, heap snapshotting etc. Currently, this requires https://github.com/node-inspector/node-inspector.
Gabriel