We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64708ce commit 01204a1Copy full SHA for 01204a1
.vscode/launch.json
@@ -5,10 +5,10 @@
5
"name": "Pyright CLI",
6
"type": "node",
7
"request": "launch",
8
- "program": "${workspaceRoot}/index.js",
+ "program": "${workspaceRoot}/index.debug.js",
9
"protocol": "inspector",
10
"cwd": "${workspaceRoot}",
11
- "preLaunchTask": "npm: build:pyright",
+ "preLaunchTask": "npm: build:analyzer",
12
"args": [
13
"-p",
14
"${workspaceRoot}/../brain",
index.debug.js
@@ -0,0 +1,6 @@
1
+#!/usr/bin/env node
2
+
3
+// Stash the base directory into a global variable.
4
+global.__rootDirectory = __dirname + '/dist/';
+require('./client/server/pyright')
0 commit comments