microsoft / microsoft/vscode-cpptools
VsCode C++ cin commands not working in debug console
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
I couldn't use cin command in c++ when debugging because we can't input something in debug console. After that I saw so many people said to use "externalconsole": true but after that, the console closes as soon as the program finishes execution.
I heard we can use a cin command at the end of the CPP file but it is very annoying that we always have to write cin command at the end. So how can I fix it? Is there any way to use integrated terminal instead of debug console? Btw I am talking about Cygwin Gcc
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing C++ cin input during debugging with Cygwin GCC, comparing externalconsole=true with the integrated terminal and debug console. Confirm whether input is accepted and whether the console remains usable after program exit; done means documenting a supported configuration or clearly identifying the extension behavior that must change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, typescript, vscode
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100