aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse
http://aws.amazon.com/eclipse
Apache License 2.0
275 stars 177 forks source link

Debugging Java SAM local hangs ... #164

Open pkasson opened 5 years ago

pkasson commented 5 years ago

Running the Lambda in SAM local works just fine .. debugging hangs:

Fetching lambci/lambda:java8 Docker container image...... Mounting /private/var/folders/rt/fbgkpm3975n_jbb1zq378lx40000gn/T/tmpl_i0fvr1 as /var/task:ro,delegated inside runtime container

And never starts debugging

anasmughal commented 5 years ago

I have the same problem. Here is the output in my Console in Eclipse:

Invoking com.aws.codestar.projecttemplates.handler.HelloWorldHandler (java8) 2019-10-31 19:35:21 Found credentials in shared credentials file: ~/.aws/credentials Decompressing /Users/myusername/workspaceAWS/Lambda/AWSCodeStar/s3-signed-url/target/HelloWorld-1.0.jar

Fetching lambci/lambda:java8 Docker container image...... Mounting /private/var/folders/vh/qyvxqbld45v2h399m2gf6r0c0000gn/T/tmpab2ocmo6 as /var/task:ro,delegated inside runtime container

hunterwerlla commented 5 years ago

What version of SAM are you using?

pkasson commented 5 years ago

The latest ... setup just few weeks back.

pkassonqh commented 4 years ago

I just updated to 0.33.0. It is same issue everyone is having - it crashes when launching

com.amazonaws.eclipse.lambda.launching.SamLocalDelegate.launch(SamLocalDelegate.java:116)