My VSCode debug get stuck, alot! The first couple ...
# sst
j
My VSCode debug get stuck, alot! The first couple of attempts to hit the endpoint after hitting ▶️ on debugger results in the request being dropped. Then it will work for a few few requests then it bomb. If I put a breakpoint in the code it will hit it after a couple of attempts then when it does it let me step through OK, but thats is it - it then wont debug again, to the extent I need to restart vs code or my mac to get it to debug again. Driving me slightly nuts. I am hoping it just a config issue. This is just when debugging two pretty simple API stacks. I also often get "Extension host terminated unexpectedly” and other vs issues. I have disabled all plugins but to no help. Any pointers welcome.
f
Hey @Jack Fraser, when it happens again, can you DM me your
.build/sst-debug.log
?
From it, I should be able to figure out if it’s the
sst start
process that’s stuck or if it’s something in VSC.
From there we can dig deeper.