I put breakpoints in my lambda's .ts and transpile...
# help
b
I put breakpoints in my lambda's .ts and transpiled .js but nothing is stoppin'.
f
Hey @Ben McGraw, are you running
sst start
?
b
I am running
npm start
which I think calls sst start
but I'm running it from a shell window.
I dont see how it can "connect" to vscode
no port info shared, etc.
f
@Ben McGraw you’d need to run hook up
sst start
in VSCode. The link @Ross Coundon shared has all the steps. Give it a try!
b
...Hm. This doesn't work as-is with my win10 VSCode and my Linux Subsystem For Linux dev env.
I suppose I could try to set up a full windows development environment. In my experience web developers usually ignore win as a user target and there are more bugs/broken paths tho.
r
People in my team use it with Linux, Windows and Mac, although I haven't seen anyone try it with Linux Subsystem For Linux I'd be surprised if there wasn't a way to get it to work
b
@Ross Coundon are they using it with VSCode running natively on Linux alongside the dev instance?
(The successful linux users I mean)
r
Yes, native Linux. I'm not sure what you mean by 'alongside the dev instance' ?
b
VS Code and the dev env literally on the same box/os/
As opposed to what I was trying to do, which was trying to debug a Windows Instance of VSCode with a Ubuntu Instance of the dev env. Same metal but different VMs.
r
Sorry, I'm still a bit confused. The dev env is within AWS. Calls to your lambdas are routed to the debug process running in VSC. Am I misunderstanding what you're trying to do?