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

Add logging using vscode-debug-logger #753

Merged
merged 14 commits into from
Jan 30, 2017
13 changes: 11 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@
"args": [ "--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/out",
"outFiles": ["${workspaceRoot}/out/**/*.js"],
"preLaunchTask": "npm"
},
{
"name": "Launch as server",
"type": "node2",
"request": "launch",
"program": "${workspaceRoot}/out/src/debugAdapter/goDebug.js",
"args": [ "--server=4712" ],
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/**/*.js"]
},
{
"name": "Launch Tests",
"type": "extensionHost",
Expand All @@ -22,7 +31,7 @@
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test", "env.GOPATH" ],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/out",
"outFiles": ["${workspaceRoot}/out/**/*.js"],
"preLaunchTask": "npm"
}
]
Expand Down
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@
"**/bower_components": true,
"out/": true
},
"editor.insertSpaces": false,
"typescript.tsdk": "./node_modules/typescript/lib"
"editor.insertSpaces": false
}
17 changes: 15 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"console-stamp": "^0.2.2",
"diff": "~3.0.0",
"json-rpc2": "^1.0.2",
"vscode-debug-logger": "^0.0.4",
"vscode-debugadapter": "^1.11.0",
"vscode-debugprotocol": "^1.11.0",
"vscode-extension-telemetry": "0.0.5",
Expand All @@ -46,7 +47,7 @@
"@types/node": "^6.0.50",
"fs-extra": "^1.0.0",
"tslint": "^4.0.2",
"typescript": "^2.0.10",
"typescript": "^2.1.5",
"vscode": "^1.0.3"
},
"engines": {
Expand Down Expand Up @@ -242,6 +243,18 @@
"type": "string",
"description": "The host name of the machine the delve debugger will be listening on.",
"default": "127.0.0.1"
},
"trace": {
"type": [
"boolean",
"string"
],
"enum": [
"verbose",
true
],
"default": true,
"description": "When 'true', the extension will log diagnostic info to a file. When 'verbose', it will also show logs in the console."
}
}
}
Expand Down Expand Up @@ -412,4 +425,4 @@
}
}
}
}
}
Loading