cannot find a program to debug
pablox70 opened this issue · 4 comments
pablox70 commented
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
},
tobytang1987 commented
This error happens when "script" value is empty.
pablox70 commented
Thanks - it's working now.
merof-code commented
What should we put there? A random command?
ko1 commented
"script": 'script_name_which_you_want_to_run.rb'