-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.debug.ps1
More file actions
15 lines (13 loc) · 602 Bytes
/
.debug.ps1
File metadata and controls
15 lines (13 loc) · 602 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<#
.SYNOPSIS
PowerShell module debug script for Visual Studio Code. This file should
be left as it is. Duplicated this file as .debug.temp.ps1 and add custom
debug commands. The debugging session can be started from VS Code by the
command 'Debug: Start Debugging' or pressing F5.
#>
# Load all modules in the repository
Get-ChildItem -Path $PSScriptRoot -Directory |
ForEach-Object { '{0}\{1}.psd1'-f $_.FullName, $_.Name } |
Where-Object { Test-Path -Path $_ } |
Import-Module -Verbose -Force
# Place module debug commands after this line