|
3283 | 3283 | },
|
3284 | 3284 | "configurationSnippets": [
|
3285 | 3285 | {
|
3286 |
| - "label": ".NET: Launch .NET Core Console App", |
3287 |
| - "description": "Launch a .NET Core Console App with a debugger.", |
| 3286 | + "label": "%debuggers.coreclr.configurationSnippets.label.console-local%", |
| 3287 | + "description": "%debuggers.coreclr.configurationSnippets.description.console-local%", |
3288 | 3288 | "body": {
|
3289 | 3289 | "name": ".NET Core Launch (console)",
|
3290 | 3290 | "type": "coreclr",
|
|
3298 | 3298 | }
|
3299 | 3299 | },
|
3300 | 3300 | {
|
3301 |
| - "label": ".NET: Attach to local .NET Core Console App", |
3302 |
| - "description": "Attach a debugger to a .NET Core Console App.", |
| 3301 | + "label": "%debuggers.coreclr.configurationSnippets.label.attach-local%", |
| 3302 | + "description": "%debuggers.coreclr.configurationSnippets.description.attach%", |
3303 | 3303 | "body": {
|
3304 | 3304 | "name": ".NET Core Attach",
|
3305 | 3305 | "type": "coreclr",
|
3306 | 3306 | "request": "attach"
|
3307 | 3307 | }
|
3308 | 3308 | },
|
3309 | 3309 | {
|
3310 |
| - "label": ".NET: Launch a local .NET Core Web App", |
3311 |
| - "description": "Launch a .NET Core Web App with both a browser and a debugger.", |
| 3310 | + "label": "%debuggers.coreclr.configurationSnippets.label.web-local%", |
| 3311 | + "description": "%debuggers.coreclr.configurationSnippets.description.web-local%", |
3312 | 3312 | "body": {
|
3313 | 3313 | "name": ".NET Core Launch (web)",
|
3314 | 3314 | "type": "coreclr",
|
|
3331 | 3331 | }
|
3332 | 3332 | },
|
3333 | 3333 | {
|
3334 |
| - "label": ".NET: Launch a remote .NET Core Console App", |
3335 |
| - "description": "Launch a .NET Core Console App on a remote machine.", |
| 3334 | + "label": "%debuggers.coreclr.configurationSnippets.label.console-remote%", |
| 3335 | + "description": "%debuggers.coreclr.configurationSnippets.description.remote%", |
3336 | 3336 | "body": {
|
3337 | 3337 | "name": ".NET Core Launch (console)",
|
3338 | 3338 | "type": "coreclr",
|
|
3352 | 3352 | }
|
3353 | 3353 | },
|
3354 | 3354 | {
|
3355 |
| - "label": ".NET: Attach to remote .NET Core Console App", |
3356 |
| - "description": "Attach a debugger to a .NET Core Console App on a remote machine.", |
| 3355 | + "label": "%debuggers.coreclr.configurationSnippets.label.attach-remote%", |
| 3356 | + "description": "%debuggers.coreclr.configurationSnippets.description.remote%", |
3357 | 3357 | "body": {
|
3358 | 3358 | "name": ".NET Core Attach",
|
3359 | 3359 | "type": "coreclr",
|
|
3367 | 3367 | }
|
3368 | 3368 | },
|
3369 | 3369 | {
|
3370 |
| - "label": ".NET: Launch and Debug Hosted Blazor WebAssembly App", |
3371 |
| - "description": "Launches a Hosted Blazor WebAssembly App with a debugger", |
| 3370 | + "label": "%debuggers.coreclr.configurationSnippets.label.blazor-hosted%", |
| 3371 | + "description": "%debuggers.coreclr.configurationSnippets.description.blazor-hosted%", |
3372 | 3372 | "body": {
|
3373 | 3373 | "name": "Launch and Debug Hosted Blazor WebAssembly App",
|
3374 | 3374 | "type": "blazorwasm",
|
|
3379 | 3379 | }
|
3380 | 3380 | },
|
3381 | 3381 | {
|
3382 |
| - "label": ".NET: Launch and Debug Standalone Blazor WebAssembly App", |
3383 |
| - "description": "Launches Standalone Blazor WebAssembly App with a debugger", |
| 3382 | + "label": "%debuggers.coreclr.configurationSnippets.label.blazor-standalone%", |
| 3383 | + "description": "%debuggers.coreclr.configurationSnippets.description.blazor-standalone%", |
3384 | 3384 | "body": {
|
3385 | 3385 | "name": "Launch and Debug Standalone Blazor WebAssembly App",
|
3386 | 3386 | "type": "blazorwasm",
|
|
3393 | 3393 | {
|
3394 | 3394 | "type": "clr",
|
3395 | 3395 | "when": "workspacePlatform == windows",
|
3396 |
| - "hiddenWhen": "dotnet.debug.serviceBrokerAvailable", |
| 3396 | + "hiddenWhen": "true", |
3397 | 3397 | "label": ".NET Framework 4.x",
|
3398 | 3398 | "languages": [
|
3399 | 3399 | "csharp",
|
|
4766 | 4766 | {
|
4767 | 4767 | "type": "dotnet",
|
4768 | 4768 | "label": "C#",
|
| 4769 | + "hiddenWhen": "!dotnet.debug.serviceBrokerAvailable", |
4769 | 4770 | "languages": [
|
4770 | 4771 | "csharp",
|
4771 | 4772 | "razor",
|
|
4792 | 4793 | }
|
4793 | 4794 | }
|
4794 | 4795 | },
|
4795 |
| - "configurationSnippets": [] |
| 4796 | + "configurationSnippets": [ |
| 4797 | + { |
| 4798 | + "label": "%debuggers.dotnet.configurationSnippets.label%", |
| 4799 | + "description": "%debuggers.dotnet.configurationSnippets.description%", |
| 4800 | + "body": { |
| 4801 | + "name": "C#: ${1:<project-name>} Debug", |
| 4802 | + "type": "dotnet", |
| 4803 | + "request": "launch", |
| 4804 | + "projectPath": "^\"\\${workspaceFolder}/${2:<relative-path-to-project-folder>}${1:<project-name>}.csproj\"" |
| 4805 | + } |
| 4806 | + } |
| 4807 | + ] |
4796 | 4808 | }
|
4797 | 4809 | ],
|
4798 | 4810 | "semanticTokenTypes": [
|
|
0 commit comments