Open pedrocimp opened 2 months ago
Thanks for opening this, looks like a SAM CLI issue so transferring over to them
Hi, could you please provide the runtime your lambda function is using? I tried to reproduce the issue with node18 and couldn't get the same error
Hi, the runtime is node20 on windows. Could you try and tell me if you can reproduce ?
@aaythapa @sidhujus any news ?
Description:
When using the
sam local invoke
command on Windows, the--debug-port
(or-d
) argument does not seem to be applied, which prevents the debugging process from starting.Context:
I'm trying to start a debugging session with the following command:
However, after running the command, there is no indication in the logs that the
--debug-port
option is being recognized. Here's a snippet from the logs:Expected behavior:
The specified debug port should be opened and ready to accept a debugging connection, but this doesn't seem to happen.
Environment:
template.yml
Steps to reproduce:
Run the following command on Windows:
Check the logs, which do not show any indication that the
--debug-port
argument is recognized.Possible suggestions or fixes:
--debug-port
argument is correctly handled on Windows.Thank you for your assistance!