GithubHelp home page GithubHelp logo

irfanahmadin / ruby-debug-ide Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ruby-debug/ruby-debug-ide

0.0 1.0 0.0 475 KB

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

Home Page: https://www.jetbrains.com/ruby/features/ruby_debugger.html

License: Other

Ruby 99.62% Shell 0.38%

ruby-debug-ide's Introduction

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-ide's People

Contributors

denofevil avatar os97673 avatar mkrauskopf avatar viuginick avatar valich avatar equivalence1 avatar francoisjacques avatar fabiomr avatar a1russell avatar encyphered avatar nelsonjchen avatar mystdeim avatar phekmat avatar reiz avatar cadorn avatar jfirebaugh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.