How to debug Node.js with Firefox?

10,277

Because Firefox uses a different Javascript engine (Gecko) than Node.js (V8), it's impossible to use the Firefox dev tools to debug Node scripts. As of this post, MDN says as much in their "Remote Debugging" article:

You can connect the developer tools to Gecko-based runtimes...

https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging

Share:
10,277
Admin
Author by

Admin

Updated on June 13, 2022

Comments

  • Admin
    Admin almost 2 years

    I'm aware of how to access the Chrome Dev Tools with Google Chrome to debug Node.js applications: just go to about://inspect.

    I encountered a line of text on MDN mentioning that Firefox could be used for Node.js applications, but going to about://inspect in Firefox doesn't work. I'd like to know how this would be done in Firefox, if it is indeed possible.

  • Sebastien H.
    Sebastien H. almost 6 years
    actually this concerns front-end debugging, not server-side debugging as chrome does