ruby-debug-ide

How to configure ports on Vagrant and ruby-debug-ide

邮差的信 提交于 2019-12-25 05:19:16
问题 I’m trying to configure debugger for my web application, but I run into trouble with specifying correct ports for it. Vagrantfile: config.vm.network :private_network, ip: "192.168.68.8" config.vm.network :forwarded_port, guest: 80, host: 8080 /etc/hosts (on my host machine) 192.168.68.8 mysite.com I installed these two gems for debugging gem 'ruby-debug-ide', group: [:development,:test] gem 'debase', group: [:development,:test] I read that in order to use ruby-debug-ide on vagrant, I should

How can I get ruby-debug-ide to work?

非 Y 不嫁゛ 提交于 2019-12-21 02:51:27
问题 I can't get my ruby-debug-ide to work properly. I have a basic rails app, and I would like to debug in RubyMine. Before I even start RubyMine, I need to enable rdebug-ide in my vagrant VM. When I navigate to my project directory, I have read online I need to enter the following command: rdebug-ide --port 1236 --dispatcher-port 26166 --host 0.0.0.0 - bin/rails s -b 0.0.0.0 However when I run this command, I get this message: I have also tried a modified version of the above command: (an extra

How can I get ruby-debug-ide to work?

假装没事ソ 提交于 2019-12-03 09:55:55
I can't get my ruby-debug-ide to work properly. I have a basic rails app, and I would like to debug in RubyMine. Before I even start RubyMine, I need to enable rdebug-ide in my vagrant VM. When I navigate to my project directory, I have read online I need to enter the following command: rdebug-ide --port 1236 --dispatcher-port 26166 --host 0.0.0.0 - bin/rails s -b 0.0.0.0 However when I run this command, I get this message: I have also tried a modified version of the above command: (an extra dash) rdebug-ide --port 1236 --dispatcher-port 26166 --host 0.0.0.0 -- bin/rails s -b 0.0.0.0 And I get