File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
Preserve process.execArgv
2
2
3
- This ensures flags like --prof are passed down so we can profile everything.
3
+ This ensures flags like `--prof` are passed down to the code-server process so
4
+ we can profile everything.
5
+
6
+ To test this:
7
+ 1. run `./lib/node --prof .`
8
+ 2. in another terminal, run `ps -ejww`
9
+
10
+ You should see `--prof` next to every code-server process.
4
11
5
12
Index: code-server/lib/vscode/src/vs/server/node/extensionHostConnection.ts
6
13
===================================================================
Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ Add support for telemetry endpoint
2
2
3
3
Contains some fixes included in https://github.com/microsoft/vscode/commit/b108bc8294ce920fcf2ee8d53f97c3bcf3316e1c
4
4
5
+ To test:
6
+ 1. Look inside a build of code-server, inside `lib/vscode/vs/server/node/server.main.js`
7
+ 2. Search for a `JSON.stringify` near `TelemetryClient`
8
+ 3. throw in a `console.log()` before it and make sure it logs telemetry data
9
+
5
10
Index: code-server/lib/vscode/src/vs/server/node/serverServices.ts
6
11
===================================================================
7
12
--- code-server.orig/lib/vscode/src/vs/server/node/serverServices.ts
You can’t perform that action at this time.
0 commit comments