Hi, I’m running through The Guide (<https://server...
# help
e
Hi, I’m running through The Guide (https://serverless-stack.com/#guide) and while I can debug into Lambdas (which is very neat, BTW), I’m struggling to get the VSCode debugger to work for the frontend React app. Anyone got any tips on setting up launch.json correctly?
sst-env
launcher process may be a factor? I am working in Typescript. I have tried launching using
npm start
and attaching to a process, but then the debugger isn’t hitting breakpoints. Experienced backend dev but complete newbie to React, Typescript, SST and VSCode… so apologies in advance if i’m missing something well known.
t
The VSCode debugger for frontend works a bit differently
It needs to go through chrome with the chrome debugger protocol
I don't use vscode so that's as much as I know unfortunately
e
Thanks for the tip. It turns out this is literally as simple as running “Debug > Open Link” from the command palette, as it looks like that extension functionality has been integrated to VSCode.