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

debugging node js applications using firefox?

Does anyone know if there is a way to debug node js applications on firefox?

I'm currently using the command
node --inspect-brk ./node_modules/bin/_mocha

to debug some tests, I'm aware I can use Chrome Developer Tools, but I was just wondering if there is a way to do this with Firefox or Safari ?

firefox has a devtools as well which can be opened with the same command as chrome devtools...is that what you're asking?

Not exactly, cause i can open the Firefox debugger i can't see the option to debug the node js app

the issue is not so much as to open the debugger but to setting it up to debug the app. When you run this command on your project you can just go to chrome and go into the url chrome://inspect and under the localhost you'll see your node js app running so that you can debug. However I can't find how to choose my app to debug using firefox