Replace the 'pry' gem with the 'debug' gem. The debug gem is the new standard debugger in Ruby 3.1. Use `binding.break` instead of `binding.pry` to set breakpoints. Install the extension below for VS Code support. https://github.com/ruby/debug#how-to-use https://marketplace.visualstudio.com/items?itemName=KoichiSasada.vscode-rdbg
736 B
Executable File
736 B
Executable File