Section Introduction
In this section we'll examine the best ways to perform debugging in a Rails application, including how to use Pry, Byebug, along with an overall strategy for fixing bugs in your applications.
Guide Tasks
  • Read Tutorial
  • Watch Guide Video
Video locked
This video is viewable to users with a Bottega Bootcamp license

In this section in the course, we're going to talk about debugging. If you're new to software development this may not seem like a huge deal. Technically, you're debugging while you're building an application, every time you run into an error you're debugging. You may not be doing it in the most efficient way possible.

I have had multiple hiring managers and senior developers tell me if they have a developer come to them, one of the first things they look into is to gauge how good of a debugger they are and if they use professional tools for it or if they don't really have an organized plan.

That is what I'm going to try to give you in this section, I'm going to show you a number of debugging tools that you can use. I'm going to walk through some very basic examples of errors that you run into and how you can isolate them and how you can use debugging tools and eventually get your bug fixed the right way.