TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Print-less debugging of Python code

3 点作者 kkaatii4 个月前
I got roasted bad on r&#x2F;Python for posting this toy project so I wanted to see broader responses.<p>pled is a library that traces your Python program&#x27;s execution with zero instrumentation code.<p>Just run your module&#x2F;function using pled&#x27;s executor and it will collect runtime data at special tracepoints like function entry, exit, etc. and generate a report in JSON or sequence diagram.<p>It&#x27;s like pdb&#x2F;logging&#x2F;PySnooper without bothering you to set up and clean up debug code.

1 comment

luchsio4 个月前
Seems useful, havn&#x27;t yet used it, nor have I used pysnooper, but seems very similar.