:loudspeaker: Update In 0.26.0, we added an `--inc...
# general
f
📢 Update In 0.26.0, we added an
--increase-timeout
flag for
sst start
. It will extend your Lambda function timeout to 15 minutes when running inside
sst start
. That should give you plenty time to debug with breakpoints (👋VSCoders!) Make sure you grab the latest launch.json config from here - https://docs.serverless-stack.com/debugging-with-vscode#launch-configurations
r
Is this for API Gateway requests too?
f
No, I’m going to play around with ways to get around APIGs 30s limit 🤔 If u have a
Queue
, this flag will also extend its visibility timeout. (Queue’s visibility timeout has to be longer than its consumer Lambda’s function timeout)
r
Ok, cool, thanks for the clarification
f
j
So the API times out but you can still debug the Lambda in VS Code for 15mins I think.
r
If so, even that would be amazing
I'll give it a go
j
Yeah
r
I'm pleased to say, that's exactly what happens. Game changer for debugging
j
haha that’s awesome!