Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New: Install VS Code debugger extensions #48

Merged
merged 1 commit into from
Jun 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion dev_web.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Description: Boxstarter Script
# Description: Boxstarter Script
# Author: Microsoft
# Common dev settings for web dev

Expand All @@ -15,6 +15,9 @@ Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\

#--- Tools ---
choco install -y vscode
code --install-extension msjsdiag.debugger-for-chrome
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yodurr I "think" this might require a refreshenv in order to function. I gave a Chocolatey presentation yesterday, and the need to refreshenv was required for me.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In PowerShell scripts, I'm not going to recommend a "refreshenv" as it is not deterministic to know if the PowerShell profile is installed - it is more deterministic to use Update-SessionEnvironment after importing some of the Chocolatey module. cc @crutkas

I'll explain at the bottom on the need for updating environment variables.

code --install-extension msjsdiag.debugger-for-edge

choco install -y git -params '"/GitAndUnixToolsOnPath /WindowsTerminal"'
choco install -y 7zip.install

Expand Down
3 changes: 3 additions & 0 deletions dev_web_nodejs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\

#--- Tools ---
choco install -y vscode
code --install-extension msjsdiag.debugger-for-chrome
code --install-extension msjsdiag.debugger-for-edge

choco install -y git -params '"/GitAndUnixToolsOnPath /WindowsTerminal"'
choco install -y 7zip.install

Expand Down