<?xml version="1.0" encoding="utf-8" standalone="yes"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Python Developer Tooling Handbook – Debugging</title>
    <link>https://pydevtools.com/handbook/topics/debugging/</link>
    <description>The Python Developer Tooling Handbook is a comprehensive guide to Python development tools including uv, ruff, pytest, mypy, ty, and more.</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 13 Jul 2026 08:49:57 -0400</lastBuildDate>
    
	  <atom:link href="https://pydevtools.com/handbook/topics/debugging/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>How to Debug a Python Script with pdb</title>
      <link>https://pydevtools.com/handbook/how-to/how-to-debug-a-python-script-with-pdb/</link>
      <pubDate>Mon, 13 Jul 2026 08:49:57 -0400</pubDate>
      <author>Tim Hopper</author>
      <guid>https://pydevtools.com/handbook/how-to/how-to-debug-a-python-script-with-pdb/</guid>
      <description>&lt;p&gt;When a script prints the wrong number or crashes with a traceback, &lt;code&gt;print()&lt;/code&gt; calls only go so far. &lt;a href=&#34;https://pydevtools.com/handbook/reference/pdb/&#34;&gt;pdb&lt;/a&gt;, Python&amp;rsquo;s built-in debugger, pauses the program mid-run so you can inspect variables and step through the code line by line until you reach the frame that failed. It ships in the standard library, so there is nothing to install.&lt;/p&gt;
&lt;p&gt;Every command below runs the same on macOS, Linux, and Windows. This guide uses one small script with a bug:&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
