Add Debugger Breakpoints to your App
You'll need to add
debugger statements to your code:
Both Chrome and Safari have built in debuggers. With Chrome, all you have to do is right-click on a web page and 'Inspect Element'. With Safari, you'll have to go into Preferences > Advanced and click on 'Show Develop menu in menu bar'.
With Firefox, you'll need to install Firebug
As of Meteor 1.0.2, there's a new command shell which you can use to do interactive debugging and manage your app from the server side, just like you do with the Chrome Console on the client side! Check it out:
Other Debugging Utilities
Server Side Debugging with Node Inspector
For server side debugging, you'll need to use a tool like Node Inspector. Before you get started, check out some of these useful tutorials.
tl;dr - there are a number of utilities in the Meteor ecosystem which are designed to be run at the same time as your Meteor application. They only work if your Meteor app is up and running and they can connect to a running website. meteor mongo, Robomongo, Nightwatch... these are all utilities that need your application to already be running. NodeInspector is one of these utilities.
Server Side Debugging with npm debug
Besides Node Inspector, some people have reported success with a npm utility called