Archived
1
0

docs: update patch testing instructions (#5543)

* docs: explain how to test exec-argv

* docs: explain how to test telemetry patch
This commit is contained in:
Joe Previte
2022-09-09 10:05:30 -07:00
committed by GitHub
parent b486354d6e
commit 3fb38414dd
2 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,13 @@
Preserve process.execArgv
This ensures flags like --prof are passed down so we can profile everything.
This ensures flags like `--prof` are passed down to the code-server process so
we can profile everything.
To test this:
1. run `./lib/node --prof .`
2. in another terminal, run `ps -ejww`
You should see `--prof` next to every code-server process.
Index: code-server/lib/vscode/src/vs/server/node/extensionHostConnection.ts
===================================================================