Skip to content

Commit

Permalink
feat: env suggestion with modified launch config
Browse files Browse the repository at this point in the history
Signed-off-by: zFernand0 <[email protected]>
  • Loading branch information
zFernand0 authored and traeok committed Aug 10, 2023
1 parent 54dcedf commit 136468d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ debug.log
npm-shrinkwrap.json
vscode-extension-for-zowe*.vsix
.vscode/settings.json
.vscode/*.env
.vscode-test
.history
.DS_Store
Expand Down
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"outFiles": ["${workspaceFolder}/packages/zowe-explorer/out/**/*.js"],
"preLaunchTask": "build dev watch",
"smartStep": true,
"skipFiles": ["<node_internals>/**"]
"skipFiles": ["<node_internals>/**"],
"envFile": "${workspaceFolder}/.vscode/.env"
},
{
// TODO: This launch-configuration should be updated to run the Theia container locally
Expand Down
6 changes: 6 additions & 0 deletions .vscode/sample_env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Create a ".env" file with the contents of this file

# Make sure to get a valid DBus Session Address
# by unlocking the keyring on a terminal, and
# copy the contents of "echo $DBUS_SESSION_BUS_ADDRESS"
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus

0 comments on commit 136468d

Please sign in to comment.