malparty / rails-debug-demo

Demo for the Ruby Tuesday conf in BK Thailand

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Debug with Visual Code UI

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

Debug with the pry-rails gem

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

About

Demo for the Ruby Tuesday conf in BK Thailand


Languages

Language:Ruby 76.1%Language:HTML 19.0%Language:JavaScript 3.1%Language:CSS 1.8%