You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the CPP debugger is in the MSFT extension which we can't use in code-server (based off this) so I don't think there's anything we can do here sadly.
cc @code-asher are there any workarounds that you know of?
I can have cpp debugging working on code-server running on my Raspberry pi (Ubuntu 22.04 , arm64) , I installed https://github.com/Microsoft/vscode-cpptools (there are armhf builds), you may try it . (It can work even without https)
yep , it's not in the openVSX extension gallery , so you cant install it directly.
I downloaded the vsix from https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
and chose the Download extensionoption in the right , then choose the right one for you
you are on armhf ubuntu , so you should choose Linux arm32 , like this:
then put it on your code-server and install, the way to install exis extensions are described in the code-server docs
Also if you want i can provide my tasks.jsonandlaunch.json
the files are here launch.txt tasks.txt
change the attribute to .json(I can't upload json files to github directly),and please ignore the python configuration in launch.json
it should work like this
I cant use computer now so I did that on phone , the screenshot may somehow look a bit strange,regret~
yep , it's not in the openVSX extension gallery , so you cant install it directly. I downloaded the vsix from https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools and chose the Download extensionoption in the right , then choose the right one for you you are on armhf ubuntu , so you should choose Linux arm32 , like this:
then put it on your code-server and install, the way to install exis extensions are described in the code-server docs
Also if you want i can provide my tasks.jsonandlaunch.json
Activity
[-][Bug]: C/C++ debug not working[/-][+][Docs]: C/C++ debug not working[/+]jsjoeio commentedon Nov 8, 2022
I think the CPP debugger is in the MSFT extension which we can't use in code-server (based off this) so I don't think there's anything we can do here sadly.
cc @code-asher are there any workarounds that you know of?
sakthivel-axim commentedon Nov 10, 2022
Thanks, @jsjoeio. Understand that cannot use
cppdbg. Please let me know the possibilities to usegdbfor debugging in Debian environment.jsjoeio commentedon Nov 10, 2022
None that I know of but maybe @code-asher knows
code-asher commentedon Nov 10, 2022
The only open-source version of the Microsoft C++ extension I know of is https://open-vsx.org/extension/llvm-vs-code-extensions/vscode-clangd but I have never used it so I am not sure how/if debugging works.
a279437145 commentedon Nov 18, 2022
I can have cpp debugging working on code-server running on my Raspberry pi (Ubuntu 22.04 , arm64) , I installed https://github.com/Microsoft/vscode-cpptools (there are
armhfbuilds), you may try it . (It can work even without https)sakthivel-axim commentedon Nov 23, 2022
Thanks you @a279437145 .
I have tried to install but it doesn't show in extension. Could you please share config/steps to bring up? It will be helpful.
a279437145 commentedon Nov 23, 2022
yep , it's not in the openVSX extension gallery , so you cant install it directly.

I downloaded the vsix from https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
and chose the
Download extensionoption in the right , then choose the right one for youyou are on armhf ubuntu , so you should choose
Linux arm32, like this:then put it on your code-server and install, the way to install exis extensions are described in the code-server docs
Also if you want i can provide my
tasks.jsonandlaunch.jsonsakthivel-axim commentedon Nov 23, 2022
Thanks @a279437145 . I will try to setup. Please share your
tasks.jsonandlaunch.json, it helps a lot. Thanks once again.a279437145 commentedon Nov 23, 2022
the files are here

launch.txt
tasks.txt
change the attribute to .json(I can't upload json files to github directly),and please ignore the python configuration in
launch.jsonit should work like this
I cant use computer now so I did that on phone , the screenshot may somehow look a bit strange,regret~
sakthivel-axim commentedon Nov 23, 2022
It's working. Thank you @a279437145.
a279437145 commentedon Nov 23, 2022
sakthivel-axim commentedon Nov 24, 2022
Debugging is working with help of this.