<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>racchai</author_name>
  <author_url>https://blog.hatena.ne.jp/racchai/</author_url>
  <blog_title>らっちゃいブログ</blog_title>
  <blog_url>https://racchai.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>tips</anon>
  </categories>
  <description>Python を初めて間もない頃、自分も print デバッグしてました。効率の悪さを認識しつつも、IDEを導入してデバッグする方法を調べてセッティングして、という手順が面倒でずっと放置してました。 // 普段は vim で開発してます そうこうしてたら print デバッグではどうにもならないバグにぶち当たり、仕方なくデバッグポイントを置く方法を調べたわけです。するとどうでしょう。 ソースコード中に以下の一文を入れるだけではないですか。 import pdb; pdb.set_trace() たったこれだけで、上の一文を挿入した行で処理が停止し、コンソール上でステップ実行が出来るようになりま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fracchai.hatenablog.com%2Fentry%2F2016%2F05%2F30%2F070000&quot; title=&quot;【Python】いつまでprintデバッグで消耗してるの？ - らっちゃいブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-05-30 07:00:00</published>
  <title>【Python】いつまでprintデバッグで消耗してるの？</title>
  <type>rich</type>
  <url>https://racchai.hatenablog.com/entry/2016/05/30/070000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
