# Guide for using node-inspector with ember-cli?

**URL:** <https://discuss.emberjs.com/t/guide-for-using-node-inspector-with-ember-cli/6531>\
**Category:** Ember CLI\
**Created:** [October 20, 2014, 7:54pm UTC](https://discuss.emberjs.com/t/guide-for-using-node-inspector-with-ember-cli/6531 "2014-10-20T19:54:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![doug316](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/doug316/32/15507_2.png) [@doug316](https://discuss.emberjs.com/u/doug316)\
**Post date:** [October 20, 2014, 7:54pm UTC](https://discuss.emberjs.com/t/guide-for-using-node-inspector-with-ember-cli/6531/1 "2014-10-20T19:54:23Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![abuiles](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/abuiles/32/15106_2.png) [@abuiles](https://discuss.emberjs.com/u/abuiles)\
**Post date:** [October 20, 2014, 8:00pm UTC](https://discuss.emberjs.com/t/guide-for-using-node-inspector-with-ember-cli/6531/2 "2014-10-20T20:00:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![doug316](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/doug316/32/15507_2.png) [@doug316](https://discuss.emberjs.com/u/doug316)\
**Post date:** [October 21, 2014, 1:12am UTC](https://discuss.emberjs.com/t/guide-for-using-node-inspector-with-ember-cli/6531/3 "2014-10-21T01:12:36Z")

</div>

Thanks for this, just what I needed!
