I am very new to PowerShell, so please be kind.
My scenario is this.
I have a bunch of PS scripts that works along my Build and Release definitions on VSTS/Azure DevOps.
I have a hard time understanding how I can debug these scripts locally because the scripts rely on certain "variables" or parameters.
E.g: Due to my lack of PS knowledge I do not understand how I can set these locally, instead of having them come from VSTS, when I actually run them from there.
Param(
[string]$BinariesDirectory,
[string]$SourcesDirectory,
[string]$DeploymentConfiguration,
[string]$Major,
[string]$Minor,
[string]$ChangesetNo,
[string]$RevisionNumber
)
I struggle understanding how I should debug PowerShell scripts that run of VSTS, and how I feed those scripts the parameters it needs.
Many thanks!