https://serverless-stack.com/ logo
#sst
Title
# sst
k

Kevin Baker

03/16/2022, 9:50 PM
Has anyone managed to get break points working with SST-Golang?
This feels directionally what I’m hoping for, but with live lambda:

https://youtu.be/hK6TnMGrVDs

f

Frank

03/17/2022, 6:03 AM
Hey @Kevin Baker, I’m not familiar with goland. Is that what you also use for IDE?
c

Chad (cysense)

03/17/2022, 6:46 AM
Interested to follow along on this. Something we will begin looking into very soon
k

Kevin Baker

03/17/2022, 3:07 PM
Hello @Frank, We are not currently using GoLand, although it is on my radar (Jet Brains makes good stuff) We are currently using VS Code. The above reference was more related to a demonstration of remote debugging of a Go-based Lambda with break points. I have not been able to get this working with SST yet, so was investigating. My hope was as a similar setup with VS Code might work with SST.
f

Frank

03/18/2022, 12:05 AM
I came across this post on setting up Delve and configuring VS Code launch config. The difference in the SST case is that VS Code is not attaching to the Go process directly, but instead need to somehow attach to the Go processes launched by
sst start
. That’s what i’ve gather from my limited knowledge of Go and Delve. 😅