Closed daskabe closed 2 months ago
Closing as this is inactive
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Description:
unable to debug lambda locally.
Steps to reproduce:
The starter repo i started with can be found here https://github.com/mir4ef/aws-lambda-typescript-starter.
I cloned it, changed runtime to node18.x using latest container. Bellow is effort to get local debug to work.
Observed result:
Error: 'str' object has no attribute 'decode'
Note :
just adding the port param causes the error
Expected result:
HelloWorldFunction should have started for debuting ws; something like this.
Debugger listening on ws://0.0.0.0:9999/a47891d0-d0d3-419e-8123-caf8baf4fbbc
and then i should have been able to connect to it from VSCode debugger
.vscode/launch.json looks like this:
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: "1.107.0",Add --debug flag to command you are running