vscode-ruby-debug icon indicating copy to clipboard operation
vscode-ruby-debug copied to clipboard

Can't run: syntax error, unexpected ','

Open xneg opened this issue 2 years ago • 0 comments

I'm trying to run this extension from VS Code. I set up my configuration:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "ruby-debug",
      "request": "launch",
      "name": "RSpec (Active File)",
      "program": "rspec",
      "programArgs": [
          "-I",
          "${workspaceFolder}",
          "${file}"
      ],
      "useBundler": false
  }
  ]
}

when I run the debugger I get an error:

~/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/readapt-1.4.4/lib/readapt/message/evaluate.rb:12:in `eval': (eval):1: syntax error, unexpected ',' (SyntaxError)
,eval $stdout.sync=true

I've found this line here but I think this comma was added there intentionally.

I'm super new to Ruby and also not deep into debugging in VS Code. Because nobody else reported this problem I think I do something completely wrong but I have now idea what. So I appreciate any help.

xneg avatar Jan 22 '24 17:01 xneg