ruby-debug-ide

An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.

  • 所有者: ruby-debug/ruby-debug-ide
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

official JetBrains project
Gem Version
Build Status

ruby-debug-ide

The 'ruby-debug-ide' gem provides the protocol to establish communication between the debugger engine (such as debase or ruby-debug-base) and IDEs (for example, RubyMine, Visual Studio Code, or Eclipse). 'ruby-debug-ide' redirect commands from the IDE to the debugger engine. Then, it returns answers/events received from the debugger engine to the IDE. To learn more about a communication protocol, see the following document: ruby-debug-ide protocol.

Install debugging gems

Depending on the used Ruby version, you need to add/install the following debugging gems to the Gemfile:

For Windows, make sure that the Ruby DevKit is installed.

Start debugging session

To start the debugging session for a Rails application, run the following command:

rdebug-ide --host 0.0.0.0 --port 1234 --dispatcher-port 1234 -- bin/rails s

If you want to debug a Rails application run using Docker Compose, you need to start the Rails server from the Docker in the following way:

command: bundle exec rdebug-ide --host 0.0.0.0 --port 1234 -- bin/rails s -p 3000 -b 0.0.0.0
volumes: 
  - .:/sample_rails_app
ports:
  - "1234:1234"
  - "3000:3000"
  - "26162:26162"

Note that all ports above should be exposed in the Dockerfile.

主要指标

概览
名称与所有者ruby-debug/ruby-debug-ide
主编程语言Ruby
编程语言Ruby (语言数: 2)
平台
许可证Other
所有者活动
创建于2011-06-21 10:19:47
推送于2025-02-03 08:07:09
最后一次提交2025-02-03 11:04:57
发布数42
最新版本名称0.7.5 (发布于 )
第一版名称v0.4.21 (发布于 2013-11-12 13:01:28)
用户参与
星数379
关注者数15
派生数82
提交数530
已启用问题?
问题数139
打开的问题数56
拉请求数63
打开的拉请求数6
关闭的拉请求数34
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?