PEM-- / meteor-helper

Meteor.js under Atom.io
http://pem-musing.blogspot.fr/2014/07/meteorjs-from-within-atomio-full-stack.html
MIT License
50 stars 9 forks source link

Think it's possible to communicate between atom <--> chrome instance? #42

Open coopermaruyama opened 9 years ago

coopermaruyama commented 9 years ago

@PEM-- I just had an idea but I'm not sure how it would work or if it's possible so I wanted to run it past you.

So usually I launch meteor, then I open up a chrome browser to localhost to develop my app. I figured since atom is pretty much an instance of chrome it shouldn't be too hard to get them to communicate. If I can just read chrome's Javascript console's output from Atom somehow, or to integrate in a way where we can get set breakpoints in another running chrome instance from Atom, I can probably add a feature which would allow setting breakpoints by clicking on the line numbers of the file you're working on within atom, as well as showing highlighting within Atom on lines that had errors.

What do you think? I really have no idea what this would take, but I think it would be really useful.

PEM-- commented 9 years ago

Didn't see this one... I'm lagging behind.

That would be awesome. NodeJS uses node-inspector for debugging. Remote debugging is allowed with it. Atom could act as a remote debugger when Meteor is launched in debug mode.