Skip to content

Instantly share code, notes, and snippets.

@zol
Created September 4, 2013 17:53
Show Gist options
  • Save zol/6440391 to your computer and use it in GitHub Desktop.
Save zol/6440391 to your computer and use it in GitHub Desktop.
Debugging a meteor app with node inspector.
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