Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
34 views

Ruby debugging will not work in VSCode for any of the debuggers

I am trying to debug a ruby program and cant get the debugger to work for ANY of the debuggers. I have tried rdbg, pry-byebug, byebug and LSP. Every time I try to run the bebugger it says DEBUGGER : ...
Sean's user avatar
  • 1
0 votes
0 answers
64 views

Rails freezes during debugging

My Rails app freezes when I use the latest Ruby/Debug gem. Debug works when I use thor on my app, but when I want to use it on my app (rails server) it freezes. By "freezing I mean the request in ...
Reza's user avatar
  • 81
0 votes
0 answers
27 views

VSCode Ruby get message "press 'Enter' to confirm your input or 'Escape to cancel" when run or debug a file

I have actually resolved the problem but passing info for anyone else getting same problem. Found several solutions but they were answers to symptoms not this problem. Had created a couple of new ...
user3285799's user avatar
0 votes
0 answers
31 views

How to use a Ruby debugger with a jekyll site?

I'm used to debugging in VS/Rider and C++, and I'm now developing Ruby and Jekyll. How can I set up VS Code to be able to set breakpoints when running my Jekyll build system?
benui's user avatar
  • 6,708
0 votes
1 answer
60 views

Ransack search not returning expected results with enum field in Rails

I'm facing an issue with Ransack search in my Rails application when attempting to filter results based on an enum field. Despite implementing what appears to be a correct setup, the search doesn't ...
Usama Ahmad's user avatar
0 votes
1 answer
81 views

How do I debug a rails application on my macbook using lldb?

I'm in the middle of a major yak-shave, trying to figure out why my rails application crashes on my mac with the following error: $rails s -e production => Booting WEBrick => Rails 6.1.6.1 ...
Rohith's user avatar
  • 2,071
0 votes
0 answers
45 views

How do I keep the debugger attached when the code auto-reloads?

I'm improving my development environment for a dockerized ruby application. My code editor is VSCode and I am using rdbg to provide an interactive debugger I am also using the rerun gem to provide ...
CamelBlues's user avatar
  • 3,724
1 vote
0 answers
227 views

How can I debug Fastlane file in VSCode with "VSCode rdbg Ruby Debugger" or similar?

I'm trying to debug my custom lane Fastlane code within VSCode, but it cannot find Fastlane source code. What may be a minimal launch.json snippet and what other setup is necessary? So far I tried the ...
Sergei Kuzmin's user avatar
0 votes
0 answers
42 views

Hangman Ruby Game - Why Does the Winning Message Delay and Saved Game Prompt Repeat?

I am developing a Hangman game as part of the Odin Project curriculum (https://www.theodinproject.com/lessons/ruby-hangman). The game utilizes a dictionary file (https://raw.githubusercontent.com/...
Shahid Haris's user avatar
0 votes
1 answer
112 views

Rails 7 won't generate a destroy path for the comment deletion [closed]

I'm trying to make a delete helper for a comment, this is the html code : <% if store_comment.user_id == current_user.id %> <%= link_to 'edit', edit_store_post_store_comment_path(params[:...
John Sall's user avatar
  • 1,107
2 votes
0 answers
210 views

Rubymine debugger doesn't stop at breakpoints

I'm using Rubymine v2023 3.2.2 When I click on the debugger icon, it starts to debug but doesn't stop at the breakpoints but keeps running the full code. I tried to restart my pc, uninstall rubymine ...
Alberto Jimenez's user avatar
0 votes
1 answer
299 views

Debug problems with specific (worked for 7 years) launch.json configurations

I recently uninstalled ruby 3.1.2 and VSCode due to a problem debugging programs. I re-installed ruby 3.1.4 and VSCode. My Configuration is: Windows 11, rubyinstaller-devkit-3.1.4-1-x64 , ...
user3285799's user avatar
0 votes
2 answers
538 views

Why does the VSCode ruby debugger show mutiple active connections on 127.0.0.1 p1234

I am unable to debug Ruby programs in VSCode gives error ECONNREFUSED ::1:1234 in debug console which I believe is the same error get when starting a debug session without ending the first. ...
user3285799's user avatar
0 votes
1 answer
725 views

Problems debugging Ruby in VSCode - debugger not executing AND can not display variables

Both of theses cost me a couple of hours each hoping to save someone else the headache Rather than a question this is the SOLUTIONS to 2 Ruby VSCode debug problems I had. Debugger would only ...
user3285799's user avatar
2 votes
1 answer
99 views

How can I run an rspec expect statement in a ruby debugger?

Whenver I want to write a semi-complex expectation, I start having to play around with matchers, seeing how can I combine them. For example, if I want to test that all hashes of an array of hashes don'...
Damian Pereira's user avatar

15 30 50 per page
1
2 3 4 5
34