meteor / meteor-feature-requests

A tracker for Meteor issues that are requests for new functionality, not bugs.
Other
89 stars 3 forks source link

Allow remote debugging #195

Open piperun opened 7 years ago

piperun commented 7 years ago

I would like to have the ability to have a more flexible meteor debug system, specifically what I'm missing currently is the ability to allow external IPs to connect via chrome tools which is available in standard node.js (via inspector).

How it works in node.js: node --inspect=0.0.0.0:9229 myproject.js

Then all I need to do is connect via chrome://inspect and add the server IP.

What I would propose:

meteor debug // runs server-side only
meteor debug --remote=ip:port //remote debug enabled
benjamn commented 6 years ago

This would be super awesome! I think the main complexities will be dealing with multi-container deployments, and maintaining security.

quintstoffers commented 6 years ago

I'm able to run meteor --inspect="0.0.0.0:9229" and connect with the Chrome inspector to debug an application that runs on a different machine on the same network. A proper solution using meteor debug would be ideal though, as this feels like a workaround.