Using node-inspector with Grunt tasks

Node Inspector is a debugger interface for Node.js applications that uses the Blink Developer Tools (formerly WebKit Web Inspector).

Also,we can use node-inspector to debugger grunt task.

node-debug $(which grunt) task

node-inspector has the command node-debug, which launches node in a --debug state and opens the browser to the node-inspector page, stopping when it hits the first debugger line or set breakpoint.

Reference

comments powered by Disqus