Too Long; Didn't Read
Debugging is as important as writing code, it can cause your program to crash or behave unexpectedly. Byebug is a working breakpoint, this means you can inspect your data at any stage where you place the breakpoint. pry is very similar with byebug but it isn’t automatically shipped with rails, so you have to install it yourself. To use pry on your application, simple place the code below on where you’d like to inspect. It’s similar to the debugger in the console for JavaScript.