From the course: GitHub Copilot for Software Developers by Microsoft Press

Unlock this course with a free trial

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

Integrate Copilot with debugging tools

Integrate Copilot with debugging tools

- All right, so, so far, we've seen how GitHub Copilot can help with individual errors that we're experiencing, but what about when we actually need to dive deep into our program and do some debugging? So what we're going to take a look at here is how GitHub Copilot fits into a traditional debugging workflow, and specifically how it can complement tools like breakpoints, log statements, and runtime inspection, right? So the first thing to know here is that Copilot doesn't replace a debugger, but it can make debugging faster and more efficient by helping you spot issues and add the right checks or visibility into your code. So again, I want to be very clear about that. If you're using tools like breakpoints or step-through debugging or variable watches, you should keep using those, right? Those aren't going to be replaced by AI, at least not at this point, right? There are really essential tools for understanding how code executes and where things go wrong in your program. So, where…

Contents