Skip to content

Commit

Permalink
feat(package.json): add server-debug script
Browse files Browse the repository at this point in the history
Added "server-debug" script in package.json. Enhances debugging with nodemon and Node.js inspector.
  • Loading branch information
Mloweedgar committed Mar 17, 2024
1 parent 8f2f242 commit 512f50f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"test-repository": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.test mocha -r dotenv/config --exit ./server/repositories/**/*.spec.js",
"server-test": "npm run test-seed and npm run server",
"server": "NODE_ENV=development nodemon server/server.js",
"server-debug": "NODE_ENV=development nodemon --inspect=9229 server/server.js",
"test-seed": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.test mocha -r dotenv/config --timeout 10000 './__tests__/seed.spec.js'",
"test-seed-ci": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.ci mocha -r dotenv/config --timeout 10000 './__tests__/seed.spec.js'",
"test-integration": "NODE_ENV=test DOTENV_CONFIG_PATH=.env.test mocha -r dotenv/config --exit --timeout 20000 './__tests__/*.spec.js' './__tests__/integration/*.spec.js'",
Expand Down

0 comments on commit 512f50f

Please sign in to comment.