Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8237083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:21:13+00:00 2026-06-07T19:21:13+00:00

I know how to debug http applications using node-inspector and iisnode. But can I

  • 0

I know how to debug http applications using node-inspector and iisnode. But can I use node-inspector to debug a non http node application, on windows?

I tried:

 node debug test.js

It says:

debugger listening on port 5858

But opening http://localhost:5858/ in Chrome does not do anything.


BTW: running node debug test.js does start the command-line debugger which works. But it’s nothing like node-inspector.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T19:21:15+00:00Added an answer on June 7, 2026 at 7:21 pm

    To use node-inspector, the right switch is node --debug not node debug

    Here are the detailed steps:

    1. install node-inspector globally (npm install -g node-inspector)
    2. from a command-line window, run: node-inspector
    3. open Chrome and go to http://localhost:8080/debug?port=5858. You’ll get the node-inspector UI but without any running app.
    4. from another command-line window, run your app with the --debug switch like this: node --debug test.js
    5. refresh the Chrome tab and voila!

    A few interesting points:

    • If you kill your app and start it again, just refresh the node-inspector tab. It will keep all your breakpoints.
    • To break automatically on the first line start your app with node --debug-brk test.js
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Anyone know a tool I can use to debug cannot access the file because
I know this is easy but i m just not able to debug it.
I would like to know that If my console Application is running in debug
In Visual Studio Debug part, we can pass arguments. I want to know how
I know there are a LOT of blog posts on this. But I can't
I just moved from Netbeans to Eclipse. In Netbeans, I can debug Playframework applications
I would like to know if there is anyway to debug the HTTP response
I dont know how to debug structures like: fun1 <- function(obj){ a<-c(obj,4) c(a,5) }
Does anybody know how to debug call to undefined function init_set , when trying
So I know now that the debug assemblies have been intentionally left out of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.