Not only do you get a single command to run your collectiveĭevelopment servers, you can easily set breakpoints and catch them right in yourĪ couple other resources mentioned in the screencast:Įxtension for running a custom launch config with a key bindingĠ0:00 (upbeat tune playing) 00:03 - I am starting to play with VS Code, Visual Studio Code 00:06 and getting my Ruby on Rails configuration 00:09 just how I like it. Rails process with the new debug gem’s rdbg command and then attach a remoteĭebugger separately. Interrogate the system with an interactive debugger.īut it turns out, it’s not a nightmare! It’s actually pretty awesome!Īs this screencast shows, you can have the best of all worlds if you launch your Running your Rails app with a single command, but it’s a nightmare for trying to New bin/dev script that combines your Rails server, CSS watcher, and JS Using esbuild, because Rails will generate a This is made all the more important if you’re starting a new app in Rails 7 and ![]() Ruby process without interfering with your shell’s STDIN and Many features you know and love from pry andĬommunicate with GUI front-ends like VS Code. Years, and one of the headline features of last year’s 3.1Ī dramatic overhaul of the long-neglected lib/debug.rb as a new gemĪside from providing a more pleasant, feature-rich command line interface with There have been a ton of quality of life improvements to Ruby over the past few Your debugging workflow in your Rails app, you’ll want to check out this ![]() ![]() If you use VS Code for Ruby development or you’re looking for ways to improve
0 Comments
Leave a Reply. |