Created
September 4, 2013 17:53
-
-
Save zol/6440391 to your computer and use it in GitHub Desktop.
Debugging a meteor app with node inspector.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Client-side you have the console. For server-side debugging, use node-inspector and make sure you have meteor v0.5.3, which makes things easier thanks to support for NODE_OPTIONS: | |
Install node-inspector: `npm install -g node-inspector` | |
Start meteor: `NODE_OPTIONS='--debug' mrt run` | |
Start `node-inspector` | |
Go to the URL given by node-inspector in Chrome | |
Debug at will |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment