From 1db5ddabc04cd6c9b2febb860e59a56fa57ca210 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 5 Apr 2017 11:23:39 -0700 Subject: [PATCH] Fix usage of Enable-DscDebug -Breakpoint --- .../Session/Capabilities/DscBreakpointCapability.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PowerShellEditorServices/Session/Capabilities/DscBreakpointCapability.cs b/src/PowerShellEditorServices/Session/Capabilities/DscBreakpointCapability.cs index 17365b218..175030565 100644 --- a/src/PowerShellEditorServices/Session/Capabilities/DscBreakpointCapability.cs +++ b/src/PowerShellEditorServices/Session/Capabilities/DscBreakpointCapability.cs @@ -50,11 +50,11 @@ public async Task> SetLineBreakpoints( .Select(file => $"@{{Path=\"{file.Key}\";Line=@({string.Join(",", file.Value)})}}")); // Run Enable-DscDebug as a script because running it as a PSCommand - // causes an error which states that the Breakpoints parameter has not + // causes an error which states that the Breakpoint parameter has not // been passed. await powerShellContext.ExecuteScriptString( hashtableString.Length > 0 - ? $"Enable-DscDebug -Breakpoints {hashtableString}" + ? $"Enable-DscDebug -Breakpoint {hashtableString}" : "Disable-DscDebug", false, false);