https://serverless-stack.com/ logo
#help
Title
# help
m

Miguel

05/20/2022, 10:37 AM
Hi I’m trying to debug my API with visual studio code. I have followed the doc and created the corresponding
launch.json
entry and all. The deployment and updating lambda function on save works, however my breakpoints are
Unbound
on VS code and can’t seem to get them to work. Any ideas? My api handler functions are in
go
, in case it matters. Edit: I can confirm that creating another route handled by a
ts
handler it does indeed hit the breakpoint 🤷‍♂️
f

Frank

05/20/2022, 5:19 PM
Hey @Miguel, break point debugging is only supported for js/ts functions at the moment.
There might be a way to get it to work with
go
, but I’m not too familiar with how
go
debugging work in VS Code works.
Here’s a recent thread that might offer a little bit of help https://serverless-stack.slack.com/archives/C01HQQVC8TH/p1647467438599969
4 Views