Guide for using node-inspector with ember-cli?


#1

Upgrading ember-cli can sometimes be painful and deep, confusing stack traces point nowhere in my code… I’m not a node expert, and have been unable to find a guide about how to debug ember serve using node-inspector or some other approach.

Anybody do this?


#2

You can drop a debugger on the Brocfile and then run the server as follows:

node debug node_modules/ember-cli/bin/ember server

I have the following alias alias ede="node debug node_modules/ember-cli/bin/ember" which I use like ede server, ede build, and so on.


#3

Thanks for this, just what I needed!