# Specify node.js debug port

**URL:** <https://discuss.emberjs.com/t/specify-node-js-debug-port/10574>\
**Category:** Ember CLI\
**Created:** [April 30, 2016, 4:03pm UTC](https://discuss.emberjs.com/t/specify-node-js-debug-port/10574 "2016-04-30T16:03:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![konrad](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/konrad/32/13521_2.png) [@konrad](https://discuss.emberjs.com/u/konrad)\
**Post date:** [April 30, 2016, 4:03pm UTC](https://discuss.emberjs.com/t/specify-node-js-debug-port/10574/1 "2016-04-30T16:03:50Z")

</div>

To use node.js remote debugging, I could set a debug port to 8001 when starting the server with `node --debug=8001 app.js`. How can I do this using ember-cli? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![lightblade](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/lightblade/32/15632_2.png) [@lightblade](https://discuss.emberjs.com/u/lightblade)\
**Post date:** [April 30, 2016, 8:23pm UTC](https://discuss.emberjs.com/t/specify-node-js-debug-port/10574/2 "2016-04-30T20:23:43Z")

</div>

You can run your local `ember-cli` through `node_modules/.bin/ember`

Putting it together…

```nohighlight
> node --debug=8001 node_modules/.bin/ember s

```
