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?
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 build, and so on.
Thanks for this, just what I needed!