File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
Add support for telemetry endpoint
2
2
3
3
To test:
4
- 1. Look inside a build of code-server, inside `lib/vscode/vs/server/node/server.main.js`
5
- 2. Search for a `JSON.stringify` near `TelemetryClient`
6
- 3. throw in a `console.log()` before it and make sure it logs telemetry data
4
+ 1. Create a RequestBin - https://requestbin.io/
5
+ 2. Run code-server with `CS_TELEMETRY_URL` set:
6
+ i.e. `CS_TELEMETRY_URL="https://requestbin.io/1ebub9z1" ./code-server-4.7.0-macos-amd64/bin/code-server`
7
+ 3. Load code-server in browser an do things (i.e. open a file)
8
+ 4. Refresh RequestBin and you should see logs
7
9
8
10
Index: code-server/lib/vscode/src/vs/server/node/serverServices.ts
9
11
===================================================================
You can’t perform that action at this time.
0 commit comments