From 4ee62b7043e12b98a06ffdf2938cebacdfd92304 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Sun, 29 Jun 2025 14:24:10 -0700 Subject: [PATCH] And debug view --- extensions/copilot/CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extensions/copilot/CONTRIBUTING.md b/extensions/copilot/CONTRIBUTING.md index 163ed022114..3f1aab36c4c 100644 --- a/extensions/copilot/CONTRIBUTING.md +++ b/extensions/copilot/CONTRIBUTING.md @@ -277,6 +277,12 @@ We have now moved to https://github.com/microsoft/vscode-tree-sitter-wasm for WA ## Troubleshooting +### Reading requests + +To easily see the details of requests made by Copilot Chat, run the command "Show Chat Debug View". This will show a treeview with an entry for each request made. You can see the prompt that was sent to the model, the tools that were enabled, the response, and other key details. Always read the prompt when making any changes, to ensure that it's being rendered as you expect! + +The view also has entries for tool calls on their own, and a prompt-tsx debug view that opens in the Simple Browser. + ## API updates When updating VS Code proposed extension API that is used by the extension, we have two tools to make sure that the version of the extension that gets installed will be compatible with the version of VS Code: the `engines.vscode` field in `package.json`, and the proposed API version.