Added .vscode/launch.json file.

This commit is contained in:
Eric Traut 2019-03-11 22:02:14 -07:00
Родитель cf93cdf7b2
Коммит a4fb40d565
1 изменённых файлов: 50 добавлений и 0 удалений

50
.vscode/launch.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,50 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Pyright CLI",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/server/src/pyright.ts",
"protocol": "inspector",
"cwd": "${workspaceRoot}",
"preLaunchTask": "npm: build:analyzer",
"args": [
"-p",
"${workspaceRoot}/../brain",
"-w"
],
"internalConsoleOptions": "openOnSessionStart",
"outFiles": [
"${workspaceRoot}/client/server/**/*.js"
]
},
{
"name": "Pyright Language Client",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/client/out/src/extension.js",
"preLaunchTask": "npm: build",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/client"
],
"stopOnEntry": false,
"smartStep": true,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/server/out/**/*.js"
]
},
{
"name": "Pyright Language Server",
"type": "node",
"request": "attach",
"protocol": "inspector",
"port": 6600,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/server/out/**/*.js"
]
}
]
}