paint-brush
Professional Debugging in Railsby@fatymahmed
425 reads
425 reads

Professional Debugging in Rails

by fatima ahmed2mDecember 27th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.

Company Mentioned

Mention Thumbnail
featured image - Professional Debugging in Rails
fatima ahmed HackerNoon profile picture
fatima ahmed

fatima ahmed

@fatymahmed

https://www.fatimahmed.com/

About @fatymahmed
LEARN MORE ABOUT @FATYMAHMED'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

fatima ahmed HackerNoon profile picture
fatima ahmed@fatymahmed
https://www.fatimahmed.com/

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite