Back to Browse

Debugging with pry

1.5K views
Oct 13, 2020
1:00:06

This presentation is focused on debugging code. We discuss what we at Launch School mean by debugging and why it's important, and then explore debugging at a practical level by outlining some basic debugging steps and demonstrating use of a debugger tool. This latter part of the session is specifically focused on using pry and pry-byebug to debug Ruby code, looking at using binding.pry to invoke pry at runtime, navigating the environment, accessing variables and methods, and stepping through code. The session is kept at an introductory level, suitable for those who are beginning Ruby, and doesn't assume any prior knowledge of using pry. Check out Launch School's Tech Talks page for more information on previous and future talks. Note: It is recommended to watch this video in full-screen mode to in order to better read the provided code examples.

Download

1 formats

Video Formats

360pmp466.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Debugging with pry | NatokHD