4 ms·
Easily debugging Meteor.js
- rywalker 11y agoGreat points Josh - it's pretty common for new Meteor devs to rely only on console.log - this is a valuable reminder of all the other options for stepping up our debugging game :)
- joshowens 11y agoThanks. I was on the fence about listing testing as another form of debugging. Didn't feel right, but maybe I will write a separate article on that at some point.
- marceloschmidt 11y agoThanks josh! It's always good to remember some of the lesser used functionalities, such as meteor debug.
- scheda 11y agoHuh. Never new about meteor debug. That's pretty awesome.
- joshowens 11y agoThanks. Yeah, always one of those 'wow' moments during my Mastering Meteor class :)
- dsiegel2275 11y agoSame here. Though I have a Webstorm license and that has worked quite well for the server side debug. Good to know though that 'meteor debug' exists.
- sergiotapia 11y agoI wonder why meteor debug wasn't advertised more by the core team, it looks like a pretty neat feature. I'm going to give it a whirl!
- joshowens 11y agoIt is a neat feature. I also hear that it will persist changes from node-inspector web interface back to your code itself... I didn't mention in the article as I didn't have time to confirm it myself. Yeah, I am thinking of adding a debugging section as a PR to the Meteor docs.
- engelgabriel 11y agoCool reference guide. The https://github.com/rclai/meteor-ddp-inspector https://github.com/rclai/meteor-ddp-inspector is also helpfull!
- joshowens 11y agoJeez, I should have totally mentioned how to use Chrome to see the DDP data. You don't really need a separate package for it.
- claudiojulio 11y agoHow to do this? Do you have any link explaining? Thanks for the great article!
- engelgabriel 11y agoTrue, I send the wrong link anyway. I meant https://github.com/arunoda/meteor-ddp-analyzer https://github.com/arunoda/meteor-ddp-analyzer
- jakozaur 11y agoAlso worth checking: http://meteor.toys/ http://meteor.toys/ Most useful and free version: http://mongol.meteor.com/ http://mongol.meteor.com/
- joshowens 11y agoIf you enjoyed the article, retweets are appreciated: https://twitter.com/joshowens/status/622022975584342016 https://twitter.com/joshowens/status/622022975584342016 Thanks for reading everyone!
- nicoles 11y agoMy main issue with meteor and debugging is that getting into node-inspector inside of a velocity test is seemingly impossible. Any ideas?
- jggonz 11y agoI've been playing with Meteor since 0.5 and only recently discovered the WebStorm IDE. I HIGHLY recommend it even for personal projects. It has built in support for meteor, and gives you a truly powerful debugging environment. You can set breakpoints and examine the state of the app (var values, etc...) while viewing the console within the IDE itself. It also has a Chrome plugin that allows the IDE to launch and debug apps in the browser. Here's the link to download the 30 day trial: https://www.jetbrains.com/webstorm/ https://www.jetbrains.com/webstorm/ Simple set up instructions: https://www.jetbrains.com/webstorm/help/using-meteor.html https://www.jetbrains.com/webstorm/help/using-meteor.html
- jonbaer 11y agoAnother good tool is Kadira Debug, a screencast can be found @ https://www.meteorcasts.net https://www.meteorcasts.net ...