Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Server-side debugging for Meteor App on Nitrous.io

I've got a simple Meteor app running on a Nitrous box. I'd like to be able to use node-inspector for server-side debugging (as described here), but I'm unable to get to the console.

My Meteor app is running locally on the box at http://0.0.0.0:3000/, and I can view it in Chrome by following the guide here. When I then run node-inspector, I get this message:

Node Inspector v0.8.3
Visit http://127.0.0.1:8080/debug?port=5858 to start debugging.

How can I get to this address? I've tried:

  • Navigating to https://example-name.example-region.nitrous.io:8080/debug?port=5858
  • Running: node-inspector --web-host 0.0.0.0
  • Running: node-inspector --web-host https://example-name.example-region.nitrous.io

Thoughts? Is there a way I can get to this console?

like image 415
user38602 Avatar asked Dec 29 '25 15:12

user38602


1 Answers

You should change the url on the box,

usually you just run the box running the meteor command

cd workspace
cd myAPP
meteor

and it works, but now you should run this commands.

cd workspace
cd myApp
ROOT_URL=http://machinename.abc1-2.nitrousbox.com meteor

Now run again node-inspector

you should get something like

Visit http://machinename.abc1-2.nitrousbox.com:8080/debug?port=5858 to start debugging.
like image 119
Ethaan Avatar answered Jan 01 '26 04:01

Ethaan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!