Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Change default debug port to 9229 to match Node, fix #36
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Sep 28, 2016
1 parent 6f80be2 commit 6b4760a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"version": "0.1.0",
// "debugServer": "4711",
"configurations": [
{
"name": "launch as server",
"type": "node2",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "${workspaceRoot}/out/src/nodeDebug.js",
"stopOnEntry": false,
"args": [ "--server=4711" ],
"args": [ "--server=4712" ],
"sourceMaps": true,
"outDir": "${workspaceRoot}/out"
// "outDir": "${workspaceRoot}/out"
},
{
"name": "Run Tests",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"name": "%node.attach.config.name%",
"type": "node",
"request": "attach",
"port": 5858,
"port": 9229,
"address": "localhost",
"restart": false,
"sourceMaps": false,
Expand Down Expand Up @@ -188,7 +188,7 @@
"port": {
"type": "number",
"description": "%node.port.description%",
"default": 5858
"default": 9229
},
"address": {
"type": "string",
Expand Down Expand Up @@ -223,7 +223,7 @@
"port": {
"type": "number",
"description": "%node.port.description%",
"default": 5858
"default": 9229
},
"address": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"node.outDir.description": "If source maps are enabled, the generated code is expected in this directory. Deprecated: use 'outFiles' attribute instead.",
"node.outFiles.description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with '!' the files are excluded. If not specified, the generated code is expected in the same directory as its source.",
"node.stopOnEntry.description": "Automatically stop program after launch.",
"node.port.description": "Debug port to attach to. Default is 5858.",
"node.port.description": "Debug port to attach to. Default is 9229.",
"node.address.description": "TCP/IP address of debug port. Default is 'localhost'.",
"node.timeout.description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.",
"node.smartStep.description": "Automatically step through generated code that cannot be mapped back to the original source.",
Expand Down

0 comments on commit 6b4760a

Please sign in to comment.