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 7729581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:00:10+00:00 2026-06-01T06:00:10+00:00

I have a windows box and a VM running CentOS. Does anyone happen to

  • 0

I have a windows box and a VM running CentOS. Does anyone happen to know how I can debug a node CLI script (which doesn’t open a port) using PHPStorm? The “edit configuration” seems to only support connecting somewhere instead of listening for incoming connections.

  • 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-01T06:00:11+00:00Added an answer on June 1, 2026 at 6:00 am

    Make sure you have the nodejs plugin installed.

    If your server has the balancer package available (my EC2 box didn’t), you can use this tutorial to forward the port with balancer.

    yum install balance -yt
    balance -df 8585 127.0.0.1.5858
    

    Many report success with an iptables redirect from eth0 to lo (didn’t work for me) like this:

    iptables -t nat -A PREROUTING -p tcp -m tcp -i eth0 --dport 5858 -j DNAT --to 127.0.0.1:5858
    

    There is also a simple node script described in this eclipse debugging tut (near the bottom), that will tunnel your local debug to a remote host.

    But once I was that far down the path, I didn’t see the point as I’m familiar with SSH. So ultimately, I went with an SSH tunnel and set up PHPStorm to debug localhost.
    SSH Tunnel using putty

    PHPStorm configuration

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a script running on windows box that downloads files from the net
I have SVN running on my main windows development box on my home network.
I am running windows 7 and have installed an Ubuntu machine using virtual box.
I'm using Visual SVN on my Windows Box. I have Repository Application , which
I'm running WampServer2 on a Windows 7 box, and I can't seem to access
I am running Ruby and MySQL on a Windows box. I have some Ruby
I have a Windows service which performs a fairly long running task. At the
I have a Windows box that is running three applications. When the applications are
I have a program which needs to be constantly running on my Windows XP
I have a windows 2003 box with an ssh server setup. I have msysgit

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.