Skip to content

Instantly share code, notes, and snippets.

@thomsbg
Created June 28, 2018 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomsbg/d1e852d56e219413e85e10e2b6857a28 to your computer and use it in GitHub Desktop.
Save thomsbg/d1e852d56e219413e85e10e2b6857a28 to your computer and use it in GitHub Desktop.
diff --git a/package.json b/package.json
index 975d65d..eded79b 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,7 @@
"scripts": {
"prestart": "npm run -s build",
"start": "node -r newrelic dist/index.js",
- "dev": "nodemon src/index.js --exec \"node -r dotenv/config -r babel-register\"",
+ "dev": "nodemon src/index.js --exec \"node --inspect=0.0.0.0:9229 -r dotenv/config -r babel-register\"",
"clean": "rimraf dist",
"build": "npm run clean && mkdir -p dist && babel src -s -D -d dist",
"test": "jest --watch",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment