Vscode-ruby: connecting to debugger fails ECONNREFUSED

Created on 17 Feb 2017  路  7Comments  路  Source: rubyide/vscode-ruby

Your environment

  • vscode-ruby version: 0.10.4
  • Ruby version: 2.1.2
  • VS Code version: 1.9.1
  • Operating System: macOS Sierra
  • Hardware (optional):

Expected behavior

It should connect to running instance of rdebug-ide

Actual behavior

Cannot connect to running instance of rdebug-ide
Debug console outs
Debugger error: Client: Error: connect ECONNREFUSED 127.0.0.1:1234

Steps to reproduce the problem

  1. run rdebug-ide from terminal with rails app
  2. attempt to start debugger using "Listen for rdebug-ide"
question

Most helpful comment

@shectermen @diazgilberto c try to run rdebug-ide --port 1234 --host 0.0.0.0 -- bin/rails s -b 0.0.0.0 and then attach to debugger

All 7 comments

Could you reproduce with a very simple rails app? Ideally you could provide a demonstration repo.

same

Same here.

have same problem

@shectermen @diazgilberto c try to run rdebug-ide --port 1234 --host 0.0.0.0 -- bin/rails s -b 0.0.0.0 and then attach to debugger

have same problem

Closing for issue cleanup. Apologies if this is still an issue. We are working to improve the core extension experience.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

epk picture epk  路  5Comments

mmarinaccio picture mmarinaccio  路  3Comments

webmastak picture webmastak  路  4Comments

ckruse picture ckruse  路  5Comments

resistorsoftware picture resistorsoftware  路  3Comments