Can I put a breakpoint in a running Python program that drops to the interactive terminal?

后端 未结 6 2120
清酒与你
清酒与你 2020-12-24 06:51

I\'m not sure if what I\'m asking is possible at all, but since python is an interpreter it might be. I\'m trying to make changes in an open-source project but because there

6条回答
  •  别那么骄傲
    2020-12-24 07:15

    Not sure what the real question is. Python gives you the 'pdb' debugger (google yourself) and in addition you can add logging and debug output as needed.

提交回复
热议问题