Closed ckoppelman closed 1 day ago
The aws.samcli.lambdaTimeout
setting controls how long AWS Toolkit waits for the "sam build" command. Does increasing this setting resolve your issue?
No, I tried extending it quite a bit, and the other machines run that part almost instantly.
And on this machine, running sam
cli in your terminal doesn't have the same behavior?
This timeout indicates that sam
isn't sending output to AWS Toolkit. If you check the sam
process in your OS process tree, is it active (i.e. non-zero CPU usage)?
Correct. The CLI works fine. What could be wrong with SAM here?
I was able to resolve this by reinstalling sam
Problem
I have three Debian machines with very similar builds. On only one of them, the Debug in the VSCode extension stalls out at the below line and times out. This does not happen on that same machine via the command line.
Steps to reproduce the issue
samconfig.toml
:template.yaml
:launch.json
:Log output
And then it times out.
Expected behavior
Things continue onward as they do in the CLI, with
System details (run
AWS: About
and/orAmazon Q: About
)Linux 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64 GNU/Linux