Skip to content

Commit a97da02

Browse files
authored
Add /debug (microsoft#294346)
1 parent cc808c1 commit a97da02

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/vs/workbench/contrib/chat/browser/chat.contribution.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,16 @@ class ChatSlashStaticSlashCommandsContribution extends Disposable {
14081408
}, async () => {
14091409
await instantiationService.invokeFunction(showConfigureHooksQuickPick);
14101410
}));
1411+
this._store.add(slashCommandService.registerSlashCommand({
1412+
command: 'debug',
1413+
detail: nls.localize('debug', "Show Chat Debug View"),
1414+
sortText: 'z3_debug',
1415+
executeImmediately: true,
1416+
silent: true,
1417+
locations: [ChatAgentLocation.Chat]
1418+
}, async () => {
1419+
await commandService.executeCommand('github.copilot.debug.showChatLogView');
1420+
}));
14111421
this._store.add(slashCommandService.registerSlashCommand({
14121422
command: 'agents',
14131423
detail: nls.localize('agents', "Configure custom agents"),

0 commit comments

Comments
 (0)