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
質問済み 5ヶ月前241ビュー
1回答
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
回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ