Skip to content

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

@xneg

Description

@xneg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions