Foundations of Debugging for Golang
The Go debugging book

Foundations of Debugging
for Golang

Debugging is the most important skill that most people are never taught. Learn to debug Go locally and in production — logging, metrics, tracing, and profiling, from an engineer who spent years doing it the hard way.

See what's inside →

For junior & mid-level Go engineers · One-time purchase, free updates for life

Foundations of Debugging for Golang book front cover
What you'll learn

The observability toolkit every Go engineer needs.

01

Debugging by eye

Get better at spotting issues and reasoning about broken code before you ever reach for a tool.

02

Logging

Logging patterns and how to build an enterprise logging strategy for Go apps.

03

Metrics

How to create metrics and build dashboards for Go apps.

04

Distributed tracing

What tracing is and how to set it up in your company for Go services.

05

Profiling

Use Go's profiling tools to debug performance issues and optimize your application.

What other Gophers think

A must-read, according to readers.

“As a person completely new to debugging tools, this book explains it well to a beginner. This is a must-read for beginners to learn debugging.”
Swastik Baranwal
Swastik Baranwal
“I found the content insightful and up to date, and I learned a bunch. It handles telemetry and tracing as well as debugging so the title of the book is a wonderfully British understatement.”
Julian Harris
Julian Harris
“It's a well-written book with a pragmatic view on how to understand what your programs are actually doing. It covers subjects in a way that encourages you to get your hands dirty right away, and does not go into so much detail that you get bored.”
Michael Bang
Michael Bang

Free updates, always.

All byteSizeGo content comes with free updates for life. Every time there's a major update — say a new Go release changes the best way to do something — you'll get an email and can download the latest version at no additional charge.

Why this book

The skill nobody teaches, taught properly.

Being able to debug locally and in production is a critical skill for any Go engineer, but it is rarely taught explicitly. It took me many years of working with Go in production to get comfortable debugging, and this book exists to accelerate your learning — everything I wish I had known when I started out.

If you are a junior or mid-level Go engineer, this book was written for you.

The author Matt Boyle - Foundations of Debugging for Golang author

Matt Boyle

Matt Boyle is an experienced technical leader in the field of distributed systems, specializing in using Go. He has worked at huge companies such as Cloudflare and General Electric, as well as exciting high-growth startups such as Curve and Crowdcube.

In 2022, Matt published the best-selling book "Domain-Driven Design with Golang". He has been writing Go for production since 2018 and often shares blog posts and fun trivia about Go over on Twitter.

Questions, answered

Who is this book for?

Junior and mid-level Go engineers who want to get comfortable debugging Go both locally and in production. If debugging still feels like guesswork, this book is for you.

Is this a one-time purchase?

Yes. Pay once and the book is yours — there's no subscription, and all future updates are included at no extra cost.

Do I get future updates?

Yes. All byteSizeGo content comes with free updates for life. You'll get an email whenever there's a major update, and you can come back and download the latest version at no additional charge.

Is there a course version of this material?

Yes — if you prefer video, The Ultimate Guide to Debugging With Go covers debugging Go in depth across 50 lessons.

Stop guessing. Start debugging.

Logging, metrics, tracing, and profiling for Go — with free updates for life.

The Ultimate Guide to Debugging With Go course cover
If you enjoyed this, you'll also enjoy

The Ultimate Guide to Debugging With Go

Prefer video? The course version goes even deeper — 50 lessons on debugging Go locally and in production, taught by Matt.

Get the course — $99 →