A VSCode project for debugging Code's executable launch environment variables.
The included launch.json
Debug task prints the VSCode process' environment
variables: PATH
, and SSH_AUTH_SOCK
. This should assist with plugins which
rely on environment variables being set, such as the Git plugin using SSH agent
authentication.
- Visual Studio Code
- Open the
.vscode/vscode-env-debug.code-workspace
using VSCode / Code OSS. - Open the "
Run and Debug
" pane (Ctrl+Shift+D) - Select the "
Debug VSCode env
" launch task - Click "
Start Debugging
" or press F5 to run the task - Check the output in the "
Debug Console
"