5. Installation & Setup
Shai Almog
@debugagent
1. https://github.com/shai-almog/DuckWorkshop
(feel free to follow me while there)
2. IntelliJ/IDEA
3. Docker Desktop - Enable Kubernetes
4. Cloud Code Plugin
5. Jump to Line Plugin
6. Practical Debugging at Scale
Cloud Native Debugging in Kubernetes and
Production by Shai Almog
Apress publishing - coming soon
twitter.com/debugagent
debugagent.com
github.com/shai-almog
7. “If debugging is the process of removing
software bugs, then programming must
be the process of putting them in.” –
Edsger Dijkstra, computer science pioneer
Shai Almog
@debugagent
Act 1: Introduction
13. “Debugging is like being the
detective in a crime movie where
you are also the murderer.” –
Filipe Fortes
Shai Almog
@debugagent
Act 2: Flow & Break
25. “The challenge with debugging is purging your
mind of what you think you know & being willing to
face cold, hard reality. Requires great effort, but the
reward (in addition to a working program) is a more
accurate understanding of reality.” – Greg Brockman
Shai Almog
@debugagent
Act 4: Kubernetes Debugging
35. ✓ Need to restart process
✓ Breakpoints… Break…
✓ Insecure by Design
✓ Stability Risk
✓ Privacy Nightmare
Shai Almog
@debugagent
JDWP & Local Debugging
36. “Debugging is twice as hard as writing the code
in the first place. Therefore, if you write the code
as cleverly as possible, you are, by definition,
not smart enough to debug it.” – Brian Kernigham
Shai Almog
@debugagent
Act 5: Developer Observability
41. ✓ Use Tracepoints!
✓ Look at Memory and Change States
✓ Break on Exceptions
✓ Customize your watch area!
✓ Observe in production
Shai Almog
@debugagent
Summary
42. Practical Debugging at Scale
Cloud Native Debugging in Kubernetes and
Production by Shai Almog
Apress publishing - coming soon
twitter.com/debugagent
debugagent.com
github.com/shai-almog