DEV Community

JS Party

Is print debugging good enough?

Let’s debate debugging techniques! Do you print debug or dive deep into debugging tools? KBall & Jerod argue that print statements are all you need while Amal & guest Eric Clemmons take the other side. Who will win and why will it be Jerod? 😉

Leave us a comment

Changelog++ members save 3 minutes on this episode because they made the ads disappear. Join today!

Sponsors:

  • Fastly – Our bandwidth partner. Fastly powers fast, secure, and scalable digital experiences. Move beyond your content delivery network to their powerful edge cloud platform. Learn more at fastly.com
  • Fly.io – The home of Changelog.com — Deploy your apps and databases close to your users. In minutes you can run your Ruby, Go, Node, Deno, Python, or Elixir app (and databases!) all over the world. No ops required. Learn more at fly.io/changelog and check out the speedrun in their docs.
  • Typesense – Lightning fast, globally distributed Search-as-a-Service that runs in memory. You iterlly can’t get any faster!
  • Changelog News – A podcast+newsletter combo that’s brief, entertaining & always on-point. Subscribe today.

Featuring:

Show Notes:

Something missing or broken? PRs welcome!

Timestamps:

(00:00) - It's party time, y'all
(00:40) - Welcoming our debaters
(01:41) - Amal intros Eric
(03:15) - Setting the debate stage
(06:48) - Amal's opening statement
(08:28) - KBall's rebuttal
(10:28) - Eric's turn
(11:57) - Jerod's response
(14:48) - Amal round 2
(15:32) - KBall round 2
(16:31) - Eric round 2
(17:35) - Jerod round 2
(18:56) - Amal round 3
(20:02) - KBall round 3
(21:22) - Eric round 3
(22:35) - And the winner is...
(23:34) - Sponsor: Changelog News
(25:42) - Real thoughts begin
(37:14) - How Eric finds bugs
(38:46) - Bug sources > symptoms
(41:34) - One thing at a time
(42:15) - On intuition
(45:15) - Happy path assumptions
(47:58) - It's almost always your code
(50:34) - Check out patch-package
(53:15) - replay.io
(55:53) - Time-travel debugging
(58:26) - Closing time
(1:00:04) - Outro

Episode source