Check at the launch.json
config: .vscode/launch.json.
This use the gem debug that is setup by default on new Rails projects.
ℹ️ Learn more:
inspirnathan.com debug-ruby-on-rails-in-vscode vscode-rdbg extension for VS Code
Check at the Gemfile
under group :development, :test do
: Gemfile.
pry-byebug
pry-rails
Add a binding.pry
breakpoint and you are ready to go!
ℹ️ Learn more:
github.com/pry/pry-rails github.com/deivid-rodriguez/pry-byebug docs.gitlab.com/ee/development/pry_debugging.html