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
gefragt vor 5 Monaten241 Aufrufe
1 Antwort
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
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen