[FEATURE] Claude Code extension for VS Code - The context of the **Debug Console** can be selected.
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I often build applications in VS Code using the Run and Debug view (F5), and then view the logs in the DEBUG CONSOLE panel.
https://code.visualstudio.com/docs/debugtest/debugging#_debugger-user-interface
Hope Claude Code will gain the ability to use tools to view recent logs in the Debug Console for IDE.
Proposed Solution
When I say, my code is giving an error! Claude can directly read the logs from the DEBUG CONSOLE panel. I think this is possible if these logs are cached in a temporary folder somewhere.
Once, when Claude was helping me commit code to Git, it messed up the local and remote branches, causing a conflict during code submission. It reverted all the uncommitted new code, wasting an entire evening's work because I couldn't remember which files I had modified. I yelled at it, and then it helped me recover the code by finding the cached temporary file history from VS Code's IDE local history. Although some jobs were still lost, this outcome is acceptable to me.
Alternative Solutions
Currently, if I encounter an error, I can only copy and paste the error log and send it to Claude through a conversation window (either a terminal or a new panel).
If the log is long, I paste it into a new text file and then send the relative path of the file to Claude so he can read it himself.
However, I think this process is still very cumbersome.
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗