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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Python decorator to log local variables with each line of code run

42 点作者 xLaszlo超过 1 年前

4 条评论

cozzyd超过 1 年前
What advantage does this have over a debugger?<p>(To be fair, in my experience, lots of python users have no idea what a debugger is...)
评论 #38596375 未加载
评论 #38504646 未加载
评论 #38504157 未加载
评论 #38506247 未加载
JCharante超过 1 年前
This looks pretty cool. I think this would be faster than using a debugger when doing leetcode &#x2F; timed puzzles
awithrow超过 1 年前
nice, I do something similar with my tests to print out certain vars only when a test fails in order to get more context.
xLaszlo超过 1 年前
WIP: suggestions most welcome.
评论 #38495358 未加载