ruby/vscode-rdbg

cannot find a program to debug

pablox70 opened this issue · 4 comments

When I run this configuration on a ruby file (Ruby-LSP is installed) I get the error in VS Code (v 1.83.1)
"Cannot find a program to debug."

This is the configuration
"configurations": [
{
"type": "rdbg",
"name": "Debug current file",
"request": "launch",
"script": "",
"askParameters": true
},

This error happens when "script" value is empty.

Thanks - it's working now.

What should we put there? A random command?

ko1 commented

"script": 'script_name_which_you_want_to_run.rb'