|
323 | 323 | { |
324 | 324 | "command": "vscode-objectscript.importLocalFilesServerSide", |
325 | 325 | "when": "false" |
| 326 | + }, |
| 327 | + { |
| 328 | + "command": "vscode-objectscript.showRESTDebugWebview", |
| 329 | + "when": "editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive" |
326 | 330 | } |
327 | 331 | ], |
328 | 332 | "view/title": [ |
|
489 | 493 | "command": "vscode-objectscript.exportCurrentFile", |
490 | 494 | "when": "resourceScheme == objectscript && vscode-objectscript.connectActive", |
491 | 495 | "group": "objectscript@8" |
| 496 | + }, |
| 497 | + { |
| 498 | + "command": "vscode-objectscript.showRESTDebugWebview", |
| 499 | + "when": "editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive", |
| 500 | + "group": "objectscript@9" |
492 | 501 | } |
493 | 502 | ], |
494 | 503 | "editor/title": [ |
|
513 | 522 | "command": "vscode-objectscript.showClassDocumentationPreview", |
514 | 523 | "group": "1_open", |
515 | 524 | "when": "resourceLangId == objectscript-class" |
| 525 | + }, |
| 526 | + { |
| 527 | + "command": "vscode-objectscript.showRESTDebugWebview", |
| 528 | + "group": "1_open", |
| 529 | + "when": "resourceLangId =~ /^objectscript/ && vscode-objectscript.connectActive" |
516 | 530 | } |
517 | 531 | ], |
518 | 532 | "touchBar": [ |
|
1064 | 1078 | "category": "ObjectScript", |
1065 | 1079 | "command": "vscode-objectscript.importLocalFilesServerSide", |
1066 | 1080 | "title": "Import Local Files..." |
| 1081 | + }, |
| 1082 | + { |
| 1083 | + "category": "ObjectScript", |
| 1084 | + "command": "vscode-objectscript.showRESTDebugWebview", |
| 1085 | + "title": "Debug REST Service..." |
1067 | 1086 | } |
1068 | 1087 | ], |
1069 | 1088 | "keybindings": [ |
|
1484 | 1503 | "number", |
1485 | 1504 | "string" |
1486 | 1505 | ], |
1487 | | - "description": "ID of process to attach to.", |
| 1506 | + "description": "ID of the process to attach to.", |
1488 | 1507 | "default": "${command:PickProcess}" |
1489 | 1508 | }, |
1490 | 1509 | "system": { |
1491 | 1510 | "type": "boolean", |
1492 | | - "description": "Enable to attach to system process.", |
| 1511 | + "description": "Enable attaching to system processes.", |
1493 | 1512 | "default": false |
| 1513 | + }, |
| 1514 | + "cspDebugId": { |
| 1515 | + "type": [ |
| 1516 | + "number", |
| 1517 | + "string" |
| 1518 | + ], |
| 1519 | + "description": "The CSP debug ID to use to identify the target process. If provided, 'processId' is ignored." |
1494 | 1520 | } |
1495 | 1521 | } |
1496 | 1522 | } |
|
0 commit comments