Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging in VScode Ruby DevContainer #121

Open
N7K4 opened this issue May 15, 2023 · 0 comments
Open

Debugging in VScode Ruby DevContainer #121

N7K4 opened this issue May 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@N7K4
Copy link

N7K4 commented May 15, 2023

Your environment

  • vscode-ruby-test-adapter version: v0.9.2
  • Ruby version: 3.1.3p185
  • VS Code version: 1.77.3
  • Operating System: Win 10, WSL ubuntu
  • RSpec or Minitest version: minitest v5.18.0

Expected behavior

Debugging of test should work, and breakpoints should be reached

Actual behavior

Only "Run" test is working.

Debugging the same test is not should working "Error while debugging test: SyntaxError: Unexpected end of JSON input".

  • In my devcontainer-setup there are just default setting.
  • The commands are done gem install debase and gem install ruby-debug-ide

in VScoode settings.json -> I tryed to config (but failed, so out-commented)

// Extension Ruby Test Explorer
   "rubyTestExplorer.debuggerHost": "127.0.0.1",
   "rubyTestExplorer.debuggerPort": "1234",
   "rubyTestExplorer.debugCommand": "rdebug-ide"

Do I have to forward the port 1234, or is anything missing in my setup?

This section should include any relevant screenshots, code samples, console output, etc. The more information we have to reproduce the better!

@N7K4 N7K4 added the bug Something isn't working label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant