From the course: AI-Powered Development: GitHub Copilot in Visual Studio

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Debug mode in the Copilot chat window

Debug mode in the Copilot chat window

- [Narrator] So far in this course, we've worked with two ways of using Copilot in Visual Studio, a regular chat mode in the chat window and the agent mode. But there's actually a third mode that only appears when you've attached the debugger to your code. It's called debug mode, and it tailors Copilot's responses specifically for debugging tasks. Debug mode appears in the Copilot chat dropdown only when the debugger is attached and we started questioning information while debugging. Once activated, debug mode remains available in that specific chat thread, even after you stop debugging. This behavior is designed to preserve context. Copilot remembers that the thread was created during a debugging session and keeps the mode active so we can continue asking runtime-related questions even if the debugger is no longer attached. Here's what the debug mode brings to the table. When debug mode is selected, Copilot…

Contents