debugging

Debugging CORS Errors

Sometimes it can feel like the browser is getting in our way. Especially when it starts complaining about “Cross-Origin Resource Sharing” errors. In this episode, Jessica Kerr demonstrates how to look deeply at CORS errors and find the sense (and …

RUBYOPT and the Sneaky Shim

You need to insert a compatibility shim, diagnostics, or tracing code into a Ruby process… but you don’t have control over how the program is started. What do you do?

Ask the Runtime

It’s hard to eat a sandwich with a spoon, and it’s hard to debug dynamic programs with static tools. In this episode, we look at a classic example of a “where’d that method come from?” problem, and show two very …

Investigative Debugging

Investigative debugging is the practice of using the full diagnostic arsenal at our disposal, along with our special privileges as ma…

Inspecting Ruby

"What's going on in there?" Ruby can usually answer the question for you... if you know how to ask. This course on diagnostics, debugging…

mitmproxy

Have you ever needed to understand the HTTP[S] communication between a client program and its server? Learn to use the mitmproxy server to spy on HTTP requests—even if they are TLS-encrypted!

Docker Diff

“What did that program change?!!” – In today’s episode you’ll see how you can definitively answer this question, using a built-in feature of Docker!

ltrace

As we’ve explored recently, strace is a powerful tool for understanding how a program interacts with the operating system. But it’s only for system calls. Learn how to use ltrace to get the rest of the story!

Strace

Learn to use strace – a powerful microscope for peering into a program’s interactions with the operating system.

lsof; or: what process is using my port?!

Have you ever gone to start a local development server, only to have it complain that the port is already taken? In this episode you’ll learn about how to use lsof utility to track down exactly which process is hogging a port.