Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Express Basics (2015) Developing Express Apps Like a Boss Interactive Debugging and Exploratory Programming

***node-debug***!

Just in case anyone else is having a "slow day", I thought I'd clear this up. The way it looked on the video, I thought the command was

node -debug src/app.js

and since that didn't work, I tried

node --debug src/app.js

which does start the debugger. But to get node-inspector to work, the command is

node-debug src/app.js

Hope this helps someone else.

Lai Boon Hui
Lai Boon Hui
5,886 Points

thank you. This helped me

Kevin Phillips
Kevin Phillips
15,693 Points

I stepped in this one too! Thanks

Randolph Judy
Randolph Judy
Courses Plus Student 28,198 Points

I am glad I looked at your post. Saved me some research.

Stewart Horsfield
Stewart Horsfield
13,293 Points

Thank you, had the same problem. Much appreciated.

Thank you

Thank you!

Thank you! I just got stuck on this one as well.

Thank you so much!

/cc @hstn Please add this to the teacher’s notes

Laurie Gray
Laurie Gray
23,119 Points

You my friend, just made my day a lot better - thank you :)

Julie Maya
Julie Maya
14,666 Points

The last one helped! Thanks

good looking out, thanks!

13 Answers

fuckina. thanks.

Randolph Judy
PLUS
Randolph Judy
Courses Plus Student 28,198 Points

I am forever turning on my magnifier to look at the videos, so that I am getting syntax right.

thanks bro!

Thanks :D

thanks a lot!

Thank you! Big time saver :D

Juan Ferr
Juan Ferr
13,220 Points

you can just use one single command and it works wonders

node-debug --web-host localhost --no-preload src/app.js

Juan Ferr
Juan Ferr
13,220 Points

you're welcome

Bai Chan Kheo
Bai Chan Kheo
8,909 Points

Thank you! I spent 10 minutes wondering what was going on.

David Roman
David Roman
6,550 Points

Thanks man! You are the MVP.