Skip to content

Add instructions on how to debug Golang Lambdas#6415

Open
baartch wants to merge 1 commit intoanomalyco:devfrom
baartch:dev
Open

Add instructions on how to debug Golang Lambdas#6415
baartch wants to merge 1 commit intoanomalyco:devfrom
baartch:dev

Conversation

@baartch
Copy link
Copy Markdown

@baartch baartch commented Feb 17, 2026

It is possible to debug Golang functions with VSCode.
All we have to do is figure out the processId and attach our debugger to it.

I have added instructions to the Live documentation on how to do this.

@vimtor vimtor changed the title docs: Add instructions on how to debug Golang Lambdas Add instructions on how to debug Golang Lambdas Mar 31, 2026
@vimtor
Copy link
Copy Markdown
Collaborator

vimtor commented Mar 31, 2026

@baartch shouldn't we switch go dev builds to -gcflags=all=-N -l for this to work reliably?

@baartch
Copy link
Copy Markdown
Author

baartch commented Apr 1, 2026

@vimtor Please excuse me. I’m not yet familiar enough with Go to judge that. Looking at what the flags do, it does seem to make sense. For me, it’s worked perfectly fine without them so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants