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 trialgregsmith5
32,615 Points***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.
Kevin Phillips
15,693 PointsI stepped in this one too! Thanks
Randolph Judy
Courses Plus Student 28,198 PointsI am glad I looked at your post. Saved me some research.
Stewart Horsfield
13,293 PointsThank you, had the same problem. Much appreciated.
G F
2,235 PointsThank you
Ezeikel Pemberton
19,817 PointsThanks!
Frank Barrett
16,088 PointsThank you!
Kevin Pardew
48,653 PointsThank you! I just got stuck on this one as well.
Tuomo Kankaanpää
13,574 PointsGreat! Thanks a lot!
hum4n01d
25,493 PointsThank you so much!
/cc @hstn Please add this to the teacher’s notes
Laurie Gray
23,119 PointsYou my friend, just made my day a lot better - thank you :)
Julie Maya
14,666 PointsThe last one helped! Thanks
Keegan Gladstone
Courses Plus Student 16,208 Pointsgood looking out, thanks!
13 Answers
George Akinian
17,615 Pointsfuckina. thanks.
Randolph Judy
Courses Plus Student 28,198 PointsI am forever turning on my magnifier to look at the videos, so that I am getting syntax right.
davidschreiter
15,005 Pointsthanks bro!
Brigette Eckert
16,957 PointsThanks :D
Wayne Tatum
3,403 Pointsthanks a lot!
missfit
18,561 PointsThank you! Big time saver :D
Juan Ferr
13,220 Pointsyou can just use one single command and it works wonders
node-debug --web-host localhost --no-preload src/app.js
Tzili Hod
5,836 Pointsthanks!!
Juan Ferr
13,220 Pointsyou're welcome
Bai Chan Kheo
8,909 PointsThank you! I spent 10 minutes wondering what was going on.
David Roman
6,550 PointsThanks man! You are the MVP.
Claudio Vallejo
13,459 PointsThanks!
Yulia Shea
5,288 PointsThanks a lot!
Lai Boon Hui
5,886 PointsLai Boon Hui
5,886 Pointsthank you. This helped me