-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python lambda debug: missing "debugpy" with "buildArguments: --manifest..." #4078
Comments
It looks like
Try without that, it may be conflicting with the one set by the Toolkit (which tries to inject
Are you using "layers"? #2468 |
Hi @justinmk3 , after few hours, trying to fixing and restructure another parts on the project, I suppose to be fixed the first issue, but right now has another. I was tried as like you said, but doesn't make difference, when excluded the sam context from launch.json. Yes, I rebuilt the template, as well as updating the path to the requirements, being a folder, making it easier to organize development and production environments, which is the reason why I use the And about the layers. I'm not sure, but now with the CDK CLI, the AWS Toolkit, in the vscode, told me that I just needed to run the Here is the launch.json remade and the new error logs. Output log
New Launch.json
|
That message is from
|
Hello @justinmk3 , I tried the first option, it almost worked, but it broke internally with this error below. About the second option, yes we use several different python envs, how can I indicate to sam my python env easily in this case? I don't see any reference for this on the documentation...
|
System details (run the
AWS: About Toolkit
command)Question
Hi guys, I'm having some problems compiling the project in debug mode, with the AWS Toolkit, due to versioning and structure problems in the project, made in python. We are currently fixing all these points, however we still can't compile the project, could you help us?
Below is the AWS_TOOLKIT log
Another log, from output on vscode is this:
Even though I've already inserted the debugpy package into the requirements, this hasn't changed.
And my launch.json is that:
Yes, we have a template.yml, but it's more confusing to understand than the code itself, so much so that I can't compile the project either from the template.yml or from the code itself, and every time the system crashes it shows a connection error, unable to connect to port 5858.
The text was updated successfully, but these errors were encountered: