You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new debug configurations to package.json (#4516)
* Add new Debug Configurations to package.json
Also register debug session handler for both dynamic and initial
* Fix test because we now register two providers
"description": "Debug a .NET binary or hybrid module loaded into a PowerShell session. Breakpoints you set in your .NET (C#/F#/VB/etc.) code will be hit upon command execution. You may want to add a compile or watch action as a pre-launch task to this configuration.",
530
+
"body": {
531
+
"name": "PowerShell: Binary Module Interactive",
532
+
"type": "PowerShell",
533
+
"request": "launch",
534
+
"script": "Enter command to import your binary module, for example: \"Import-Module -Force ${workspaceFolder}/path/to/module.psd1|dll\"",
535
+
"createTemporaryIntegratedConsole": true,
536
+
"attachDotnetDebugger": true
537
+
}
538
+
},
539
+
{
540
+
"label": "Run Pester Tests (Binary Module)",
541
+
"description": "Debug a .NET binary or hybrid module by running Pester tests. Breakpoints you set in your .NET (C#/F#/VB/etc.) code will be hit upon command execution. You may want to add a compile or watch action as a pre-launch task to this configuration.",
/** Represents the various built-in debug configurations that will be advertised to the user if they choose "Add Config" from the launch debug config window */
64
+
// NOTE: These are duplicated with what is in package.json until https://github.com/microsoft/vscode/issues/150663#issuecomment-1506134754 is resolved.
@@ -199,7 +206,7 @@ export class DebugSessionFeature extends LanguageClientConsumer
199
206
{
200
207
id: DebugConfig.RunPester,
201
208
label: "Run Pester Tests (Binary Module)",
202
-
description: "Debug a .NET binary or hybrid module by running pester tests. Breakpoints you set in your .NET (C#/F#/VB/etc.) code will be hit upon command execution. You may want to add a compile or watch action as a pre-launch task to this configuration.",
209
+
description: "Debug a .NET binary or hybrid module by running Pester tests. Breakpoints you set in your .NET (C#/F#/VB/etc.) code will be hit upon command execution. You may want to add a compile or watch action as a pre-launch task to this configuration.",
0 commit comments