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);