-
Notifications
You must be signed in to change notification settings - Fork 23
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
DAP Couldn't connect to 127.0.0.1:54701: ECONNREFUSED #33
Comments
The debug gem needs to be installed for your system or for your project if you have a Gemfile. This is what is talking DAP to Neovim. To test, open a terminal and RUBY_DEBUG_OPEN=true RUBY_DEBUG_HOST="127.0.0.1" RUBY_DEBUG_PORT=54701 bundle exec rspec PATH_TO_SPEC_FILE Where We have a project that did use |
@tttffff Thanks for your reply. I am trying to make this work but without success. None of this does not work for me. |
@kayn1 I ran into a similar issue, asked a question on reddit and got this answer which worked. The below two functions are respectively working for debugging ruby files and test files.
The secret sauce is setting At the moment, whenever I debug a ruby file or a test file the debugger stops at the 1st line, the I'm curious if this solves your issue. |
Nope, this did not work for me. How to extend the default configuration from this gem? |
What?
This plugin does not seem to work. It fails everytime.
Port does not make any difference here.
Steps to reproduce:
Also, I can't add my own configuration so this is also an issue.
I see that some other people reported this.
The text was updated successfully, but these errors were encountered: