Error: 'str' object has no attribute 'decode'Bug: TITLE #6582
Labels
area/debugging
blocked/close-if-inactive
Blocked for >14 days with no response, will be closed if still inactive after 7 days
type/question
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
The text was updated successfully, but these errors were encountered: