Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有类似于Pry for Ruby 的 Python 解释器?
非常方便。我可以使用类似的语句在任何我想要的地方停止程序binding.pry,并且我可以检查变量的值、操作它们等。这对于查找错误非常有用。
binding.pry