-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running C/C++ outputs in debug console instead of terminal #9891
Comments
|
Do you have The Debug Console is not the output window, it is where diagnostics logging during debugging or using it as an evaluation window. |
I do not know where I can see external console and I am aware debug console is not the output window but for some reason that's the only place where I can see any print statements I put in my codes |
|
brother if this issue is resolved for you ..can you also enlighten me>? |
|
What is the solution? |
|
No solution found so far I just use an extension to run it called "Code Runner" |
|
Ah, but how are you debugging the code, I dont recall you could debug using code runner? |
|
I haven't really had to use the debugger, just use some print statements |
|
Alr thanks |
|
https://www.freecodecamp.org/news/how-to-write-and-run-c-cpp-code-on-visual-studio-code/ |
That does not fix the problem, it simply bypasses it by using an extension that has been brought up earlier in the conversation. |
|
Just add these to the launch.json config: The stop at entry is necessary or a debug help message will pop up at the first breakpoint. |


Type: Bug
Extension version: 1.12.4
VS Code version: Code 1.71.2 (Universal) (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:05:37.721Z)
OS version: Darwin x64 21.6.0
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: