2019-03-12 08:02:14 +03:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "Pyright CLI",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2019-03-27 09:53:50 +03:00
|
|
|
"program": "${workspaceRoot}/index.debug.js",
|
2019-03-12 08:02:14 +03:00
|
|
|
"protocol": "inspector",
|
|
|
|
"cwd": "${workspaceRoot}",
|
2019-03-27 09:53:50 +03:00
|
|
|
"preLaunchTask": "npm: build:analyzer",
|
2019-03-12 08:02:14 +03:00
|
|
|
"args": [
|
|
|
|
"-p",
|
|
|
|
"${workspaceRoot}/../brain",
|
2019-04-15 03:44:44 +03:00
|
|
|
"--stats"
|
2019-03-12 08:02:14 +03:00
|
|
|
],
|
|
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceRoot}/client/server/**/*.js"
|
|
|
|
]
|
|
|
|
},
|
2019-03-24 10:01:35 +03:00
|
|
|
{
|
|
|
|
"name": "Pyright Tests",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceRoot}/server/node_modules/jest/bin/jest.js",
|
|
|
|
"protocol": "inspector",
|
|
|
|
"cwd": "${workspaceRoot}/server",
|
|
|
|
"args": [
|
|
|
|
"--config",
|
|
|
|
"${workspaceRoot}/server/jest.config.js",
|
|
|
|
"-runInBand"
|
|
|
|
],
|
|
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
|
|
},
|
2019-03-12 08:02:14 +03:00
|
|
|
{
|
|
|
|
"name": "Pyright Language Client",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${workspaceRoot}/client/out/src/extension.js",
|
2019-03-25 04:05:31 +03:00
|
|
|
"preLaunchTask": "npm: build:clientServer",
|
2019-03-12 08:02:14 +03:00
|
|
|
"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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|