Copilot no longer works in debug mode in Visual Studio 2022 #139288
-
Select Topic AreaQuestion BodyI recently updated Visual Studio 2022 to Version 17.11.4 and I have noticed that Copilot no longer gives suggestions when debugging. This is an impediment as I frequently used it in debug mode, in conjunction with Hot Reload to make changes while running. Now I have to stop debug, make changes with Copilot's help, then spend minutes waiting for my program to execute up to the point where I need to debug. Has anyone else noticed this? Is there a reason why? I tried to search for suitable terms but didn't find anything similar. Thanks for any advice. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Hello @Transigent It seems like you're experiencing an issue with GitHub Copilot not providing suggestions in debug mode after updating to Visual Studio 2022 Version 17.11.4. This is a known issue, and several users have reported similar problems. From the GitHub Copilot documentation, it's clear that the extension is designed to work in the editor, but it's not explicitly stated that it should work in debug mode. However, many users have reported that it used to work in debug mode before the update. As a workaround, you can try the following: Disable and re-enable GitHub Copilot: Sometimes, simply disabling and re-enabling the extension can resolve the issue. To do this, go to Extensions > Manage Extensions, find GitHub Copilot, and toggle the switch to disable it. Then, wait for a few seconds and toggle the switch again to re-enable it. |
Beta Was this translation helpful? Give feedback.
-
Hi, Thank you for sharing the issue. Previously, we changed the default to turn off completions during debugging based on customer feedback. You can turn it on in Tools > Options > Intellicode > Advanced. Please feel free to share any other thoughts/questions on this issue. |
Beta Was this translation helpful? Give feedback.
Hi,
Thank you for sharing the issue. Previously, we changed the default to turn off completions during debugging based on customer feedback. You can turn it on in Tools > Options > Intellicode > Advanced. Please feel free to share any other thoughts/questions on this issue.