Skip to content

GDB on VS-Code with Lima #1433

Discussion options

You must be logged in to vote

I think you would use something like https://code.visualstudio.com/docs/cpp/pipe-transport, to do remote debugging...

Assuming that you have already configured the compiler, so that it would either run with lima or cross-compile to Linux ?


It could be useful to have a whole example for Lima, like WSL:

https://code.visualstudio.com/docs/remote/remote-overview

You can set up ssh config to the Lima VM, using limactl show-ssh

Then VS Code will install the VS Code Server, on the lima instance.

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
9 replies
@GiacomoPaltrinieri
Comment options

@afbjorklund
Comment options

@GiacomoPaltrinieri
Comment options

@afbjorklund
Comment options

@GiacomoPaltrinieri
Comment options

Answer selected by GiacomoPaltrinieri
Comment options

You must be logged in to vote
3 replies
@afbjorklund
Comment options

@afbjorklund
Comment options

@afbjorklund
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants