Skip to content

Commit 472a205

Browse files
adding remote debug fixes (#119)
1 parent 9ff1fbc commit 472a205

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

designer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"start:test": "NODE_ENV=test yarn start:server",
1010
"build": "NODE_ENV=production && NODE_OPTIONS=--openssl-legacy-provider && webpack",
1111
"start:server": "node dist/server.js",
12-
"start:local": "NODE_ENV=development PERSISTENT_BACKEND=preview ts-node-dev --inspect --respawn --transpile-only server/index.ts"
12+
"start:local": "NODE_ENV=development PERSISTENT_BACKEND=preview ts-node-dev --inspect=0.0.0.0:9229 --respawn --transpile-only server/index.ts"
1313
},
1414
"author": "Communities UK",
1515
"license": "SEE LICENSE IN LICENSE",

runner/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scss:build": "node compile-scss.js",
1212
"copy-forms": "node copy-form-json.js",
1313
"clean:build": "rm -rf dist",
14-
"dev": "NODE_ENV=development nodemon --watch src --ext js,json,ts,html,scss --exec 'yarn build && node dist/digital-form-builder-adapter/runner/index.js'",
14+
"dev": "NODE_ENV=development nodemon --inspect=0.0.0.0:9228 --watch src --ext js,json,ts,html,scss --exec 'yarn build && yarn start:server'",
1515
"start:server": "node dist/digital-form-builder-adapter/runner/index.js",
1616
"production": "NODE_ENV=production npm run start:server",
1717
"start:test": "NODE_ENV=development npm run start:server",
@@ -50,6 +50,7 @@
5050
"@types/hoek": "^4.1.4",
5151
"babel-eslint": "^10.1.0",
5252
"babel-plugin-module-name-mapper": "^1.2.0",
53+
"concurrently": "^7.0.0",
5354
"hapi-auth-jwt2": "10.2.0",
5455
"prisma": "^5.1.1",
5556
"sass": "^1.49.9",

0 commit comments

Comments
 (0)