Questions tagged [ruby-debug-ide]

25 questions
5
votes
1 answer

Attach ruby-debug-ide to existing Rails server

Background I have ruby-debug-ide all setup to remote debug (I'm using Docker) in Visual Studio Code. I am using this command in my docker-compose.yml to start ruby-debug-ide and my rails server: rm -f /api/tmp/pids/server.pid && rdebug-ide --host…
5
votes
2 answers

ruby-debug-ide failed to build gem native extention in Windows

I have installed debase, but when I try to gem install ruby-debug-ide, it still failed to build gem native extention: ERROR: Error installing ruby-debug-ide-0.6.1.beta2.gem: ERROR: Failed to build gem native extension. …
Rebecca
  • 51
  • 1
  • 3
4
votes
0 answers

Configuring VS Code to use ruby debugger on WSL

I'm relatively new to using a terminal and programming in general. Here's the error I'm currently getting when hitting the 'start debugging' button is VS Code: Debugger terminal error: Process failed: spawn …
4
votes
4 answers

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

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…
KevEllis
  • 143
  • 1
  • 1
  • 5
4
votes
0 answers

Debugging Unicorn server remotely with RubyMine

I have Rails (version 4.0.3) application which uses nginx as front-end server to dispatch the requests to actual Unicorn. Whilst developing the app I would like to use Docker on Windows (boot2docker) to run the application and ruby-debug-ide to…
Roope Hakulinen
  • 7,326
  • 4
  • 43
  • 66
3
votes
0 answers

Shopify.ruby-lsp VSCode Extension vs. Other VSCode Ruby Extensions

I just came across the Shopify.ruby-lsp vscode extension, which works with VSCode RDBG. I have been using the rebornix.Ruby / vscode-ruby extension and ruby-debug-ide; Stafford Brunk (wingrunr21, the developer of vscode-ruby) is asking for someone…
Mike Slinn
  • 7,705
  • 5
  • 51
  • 85
3
votes
1 answer

How do I start Rails with foreman on a dedicated debug port with Rails 4.2?

I’m using Rails 4.2. I start Rails using foreman, and I would like to attach a debugger when starting Rails. This question details the process for Rails 3.2 — How to debug a rails (3.2) app started by foreman?, however I believe this file is…
Dave
  • 15,639
  • 133
  • 442
  • 830
3
votes
0 answers

How to debug with Rubymine, Docker-Compose and multiple debug sessions?

I am experimenting with Rubymine's "Docker-Compose" integration. I normally do the "usual" debugging, by using the and "BUG"-buttons to start a debug session. Normally I can start these sessions for the "rails server"- itself and one for debugging…
Jan
  • 12,992
  • 9
  • 53
  • 89
3
votes
0 answers

How to debug app via rake test with VSCode

Trying to debug a minitest test on a non-rails ruby application and I have the following config in the launch.json file: { "name": "Debug a rake task", "type": "Ruby", "request": "launch", …
Halil Sen
  • 259
  • 2
  • 11
2
votes
1 answer

How can I configure VS Code to break on any exception in a Rails application? (Using ruby-debug-ide and debase)

I've set up the ruby-debug-ide and debase gems in my Rails application so that I can use VS Code's built-in debugging tools. During development, I would like any exception to trigger a breakpoint and start the debugger in VS Code. How can I set this…
2
votes
1 answer

Breakpoint not working on VScode for Rspec Rails

Not sure what's wrong with my setup. I've been stuck on this issue for a day now and still hasn't resolved this. I've setup my VScode so I can debug my specs (for Ruby on Rails) faster. I followed this guide on Github, originally stumbled upon this…
2
votes
0 answers

Installing ruby-debug-ide - Failed to build gem native extension

I have win7x64 and struggling to install ruby-debug-ide to use debugger in my ide. It is failing to build gem native extensions have tried everything i could find through net --verbose, --pre, --with ruby etc Its still failing ( Can anyone give some…
qwebek
  • 949
  • 2
  • 8
  • 15
1
vote
0 answers

error occurred while installing ruby-debug-ide, but only in docker compose build

If I install the ruby-debug-ide Gem by docker compose run app bash gem install "ruby-debug-ide" it installs without issue. If I install the ruby-debug-ide Gem by docker compose run app bash Add ruby-debug-ide to my Gemfile bundle install it…
dumbledad
  • 16,305
  • 23
  • 120
  • 273
1
vote
1 answer

On Mac Big Sur, what is the right version of debase to use when debugging with rdebug-ide on a Rails 6 app?

I’m using Mac OS Big Sur with Xcode 13.2.1. I would like to run rdebug-ide in my Rails 6 (Ruby 3.0.2) app but not quite sure what version of debase I need, which is a requirement to install rdebug-ide as I understand it. When I try to install the…
Dave
  • 15,639
  • 133
  • 442
  • 830
1
vote
1 answer

Error Running Ruby Debug IDE with Rails 4 app

I am having a problem running a Rails 4 app with Ruby Debug IDE using Visual Studio Code. This is the error I get. /home/ziyan/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:2158:in `method_missing' : undefined method `this' for…
Ziyan Junaideen
  • 3,270
  • 7
  • 46
  • 71
1
2