How to debug ruby lambda with vscode?

0

I know I can debug a lambda on vscode with node and python but I have not figured out how to do it on ruby yet?

I have tried to use the vscode-rdbg extension, set the port and then used the port with the -d flag but that didn't attach.

Has anybody figured out how to debug a lambda running ruby?

  • I ended up seeing this in the console, I assume from the debug port flag I passed in samcli.local.docker.lambda_debug_settings.DebuggingNotSupported: Debugging is not currently supported for ruby3.2

john
asked 5 months ago227 views
1 Answer
0

Hello,

I understand that you want to debug ruby lambda with vscode .

I investigated for the same and found that currently AWS Toolkit for Visual Studio Code doesn’t support the Ruby runtime. Please refer to AWS documentation at link [1]. There is an open issue in GitHub regarding the same[2].

Please note that AWS internal team is looking at ways to improve the services. I would request you to monitor our AWS blogs and What's new page for updates on any enhancements or new releases.

[+] https://aws.amazon.com/blogs/   
[+] https://aws.amazon.com/new/

Thank you.


REFERENCES

[1] https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-debugging.html#serverless-sam-cli-using-aws-toolkits

[2] https://github.com/aws/aws-toolkit-vscode/issues/747

likhita
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions