|
1 | 1 | {
|
2 |
| - "name": "PowerShell", |
| 2 | + "name": "powershell", |
3 | 3 | "displayName": "PowerShell",
|
4 | 4 | "version": "1.11.0",
|
5 | 5 | "publisher": "ms-vscode",
|
|
302 | 302 | ],
|
303 | 303 | "debuggers": [
|
304 | 304 | {
|
305 |
| - "type": "PowerShell", |
| 305 | + "type": "powershell", |
| 306 | + "label": "PowerShell", |
306 | 307 | "enableBreakpointsFor": {
|
307 | 308 | "languageIds": [
|
308 | 309 | "powershell"
|
|
322 | 323 | "label": "PowerShell: Launch Current File",
|
323 | 324 | "description": "Launch current file (in active editor window) under debugger",
|
324 | 325 | "body": {
|
325 |
| - "type": "PowerShell", |
326 |
| - "request": "launch", |
327 | 326 | "name": "PowerShell Launch Current File",
|
| 327 | + "type": "powershell", |
| 328 | + "request": "launch", |
328 | 329 | "script": "^\"\\${file}\"",
|
329 | 330 | "args": [],
|
330 | 331 | "cwd": "^\"\\${file}\""
|
|
334 | 335 | "label": "PowerShell: Launch Current File in Temporary Console",
|
335 | 336 | "description": "Launch current file (in active editor window) under debugger in a temporary Integrated Console.",
|
336 | 337 | "body": {
|
337 |
| - "type": "PowerShell", |
338 |
| - "request": "launch", |
339 | 338 | "name": "PowerShell Launch Current File in Temporary Console",
|
| 339 | + "type": "powershell", |
| 340 | + "request": "launch", |
340 | 341 | "script": "^\"\\${file}\"",
|
341 | 342 | "args": [],
|
342 | 343 | "cwd": "^\"\\${file}\"",
|
|
347 | 348 | "label": "PowerShell: Launch Current File w/Args Prompt",
|
348 | 349 | "description": "Launch current file (in active editor window) under debugger, prompting first for script arguments",
|
349 | 350 | "body": {
|
350 |
| - "type": "PowerShell", |
351 |
| - "request": "launch", |
352 | 351 | "name": "PowerShell Launch Current File w/Args Prompt",
|
| 352 | + "type": "powershell", |
| 353 | + "request": "launch", |
353 | 354 | "script": "^\"\\${file}\"",
|
354 | 355 | "args": [
|
355 | 356 | "^\"\\${command:SpecifyScriptArgs}\""
|
|
361 | 362 | "label": "PowerShell: Launch Script",
|
362 | 363 | "description": "Launch specified script or path to script under debugger",
|
363 | 364 | "body": {
|
364 |
| - "type": "PowerShell", |
365 |
| - "request": "launch", |
366 | 365 | "name": "PowerShell Launch ${Script}",
|
| 366 | + "type": "powershell", |
| 367 | + "request": "launch", |
367 | 368 | "script": "^\"\\${workspaceFolder}/${Script}\"",
|
368 | 369 | "args": [],
|
369 | 370 | "cwd": "^\"\\${workspaceFolder}\""
|
|
373 | 374 | "label": "PowerShell: Pester Tests",
|
374 | 375 | "description": "Invokes Pester tests under debugger",
|
375 | 376 | "body": {
|
376 |
| - "type": "PowerShell", |
377 |
| - "request": "launch", |
378 | 377 | "name": "PowerShell Pester Tests",
|
| 378 | + "type": "powershell", |
| 379 | + "request": "launch", |
379 | 380 | "script": "Invoke-Pester",
|
380 | 381 | "args": [],
|
381 | 382 | "cwd": "^\"\\${workspaceFolder}\""
|
|
385 | 386 | "label": "PowerShell: Attach to PowerShell Host Process",
|
386 | 387 | "description": "Open host process picker to select process to attach debugger to",
|
387 | 388 | "body": {
|
388 |
| - "type": "PowerShell", |
389 |
| - "request": "attach", |
390 | 389 | "name": "PowerShell Attach to Host Process",
|
| 390 | + "type": "powershell", |
| 391 | + "request": "attach", |
391 | 392 | "processId": "^\"\\${command:PickPSHostProcess}\"",
|
392 | 393 | "runspaceId": 1
|
393 | 394 | }
|
|
396 | 397 | "label": "PowerShell: Interactive Session",
|
397 | 398 | "description": "Start interactive session (Debug Console) under debugger",
|
398 | 399 | "body": {
|
399 |
| - "type": "PowerShell", |
400 |
| - "request": "launch", |
401 | 400 | "name": "PowerShell Interactive Session",
|
| 401 | + "type": "powershell", |
| 402 | + "request": "launch", |
402 | 403 | "cwd": ""
|
403 | 404 | }
|
404 | 405 | }
|
|
451 | 452 | },
|
452 | 453 | "initialConfigurations": [
|
453 | 454 | {
|
454 |
| - "type": "PowerShell", |
455 |
| - "request": "launch", |
456 | 455 | "name": "PowerShell Launch Current File",
|
| 456 | + "type": "powershell", |
| 457 | + "request": "launch", |
457 | 458 | "script": "${file}",
|
458 | 459 | "args": [],
|
459 | 460 | "cwd": "${file}"
|
460 | 461 | },
|
461 | 462 | {
|
462 |
| - "type": "PowerShell", |
463 |
| - "request": "launch", |
464 | 463 | "name": "PowerShell Launch Current File in Temporary Console",
|
| 464 | + "type": "powershell", |
| 465 | + "request": "launch", |
465 | 466 | "script": "${file}",
|
466 | 467 | "args": [],
|
467 | 468 | "cwd": "${file}",
|
468 | 469 | "createTemporaryIntegratedConsole": true
|
469 | 470 | },
|
470 | 471 | {
|
471 |
| - "type": "PowerShell", |
472 |
| - "request": "launch", |
473 | 472 | "name": "PowerShell Launch Current File w/Args Prompt",
|
| 473 | + "type": "powershell", |
| 474 | + "request": "launch", |
474 | 475 | "script": "${file}",
|
475 | 476 | "args": [
|
476 | 477 | "${command:SpecifyScriptArgs}"
|
477 | 478 | ],
|
478 | 479 | "cwd": "${file}"
|
479 | 480 | },
|
480 | 481 | {
|
481 |
| - "type": "PowerShell", |
482 |
| - "request": "attach", |
483 | 482 | "name": "PowerShell Attach to Host Process",
|
| 483 | + "type": "powershell", |
| 484 | + "request": "attach", |
484 | 485 | "processId": "${command:PickPSHostProcess}",
|
485 | 486 | "runspaceId": 1
|
486 | 487 | },
|
487 | 488 | {
|
488 |
| - "type": "PowerShell", |
489 |
| - "request": "launch", |
490 | 489 | "name": "PowerShell Interactive Session",
|
| 490 | + "type": "powershell", |
| 491 | + "request": "launch", |
491 | 492 | "cwd": ""
|
492 | 493 | }
|
493 | 494 | ]
|
|
0 commit comments