Skip to content

Commit 367014a

Browse files
committed
docs: explain how to test exec-argv
1 parent a1cf4b9 commit 367014a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

patches/exec-argv.diff

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Preserve process.execArgv
22

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.
411

512
Index: code-server/lib/vscode/src/vs/server/node/extensionHostConnection.ts
613
===================================================================

0 commit comments

Comments
 (0)