Reader small image

You're reading from  From PHP to Ruby on Rails

Product typeBook
Published inDec 2023
Reading LevelBeginner
PublisherPackt
ISBN-139781804610091
Edition1st Edition
Languages
Right arrow
Author (1)
Bernard Pineda
Bernard Pineda
author image
Bernard Pineda

Bernard Pineda is a seasoned developer with 20 years of web development experience. Proficient in PHP, Ruby, Python, and other backend technologies, he has taught PHP and PHP-based frameworks through video courses on platforms like LinkedIn Learning. His extensive work with Ruby and Ruby on Rails, along with curiosity in frontend development and game development, bring a diverse perspective to this book. Currently working as a Site Reliability Engineer in Silicon Valley, Bernard is always seeking new adventures.
Read more about Bernard Pineda

Right arrow

Summary

In this chapter, we learned about the different functions we can use to debug in PHP and the equivalent in Ruby, and how to debug our code by using three different tools that are easily configured and installed. While not wanting to impose my debugging gem of choice, I will say that for several years I used pry, until byebug came along. I suggest you not only try byebug but also be on the lookout for new debugging gems. We also learned how to add breakpoints to our debug code and how useful and powerful these breakpoints can be during development. Lastly, we learned that all of these gems are basically enhanced IRBs, so we can easily use any of them as they all behave in a very similar fashion.

Having seen all this, we are now ready to board the Ruby on Rails wagon.

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
From PHP to Ruby on Rails
Published in: Dec 2023Publisher: PacktISBN-13: 9781804610091

Author (1)

author image
Bernard Pineda

Bernard Pineda is a seasoned developer with 20 years of web development experience. Proficient in PHP, Ruby, Python, and other backend technologies, he has taught PHP and PHP-based frameworks through video courses on platforms like LinkedIn Learning. His extensive work with Ruby and Ruby on Rails, along with curiosity in frontend development and game development, bring a diverse perspective to this book. Currently working as a Site Reliability Engineer in Silicon Valley, Bernard is always seeking new adventures.
Read more about Bernard Pineda