开发者

Does PyCharm 1.x / 2.x provide a debug console?

开发者 https://www.devze.com 2023-04-13 06:40 出处:网络
In the debug mode, I need to use interactive console to check values of different variables instead of depending on watch window.

In the debug mode, I need to use interactive console to check values of different variables instead of depending on watch window.

Is there such a function out there?

Thank you

// Updated for PyCharm 2.0 //

You can invoke it by pressing 'Show command line' button in a toolbar of console output window, which is described in online help on page http://www.jetbrains.开发者_高级运维com/pycharm/webhelp/debug-tool-window-console.html


Yes. There's a button in the left toolbar of the Debug toolwindow that shows the console in the process being debugged.


If you go to Tools -> Run Python Console it will import your project, but not sure that is what you need. Other wise while live debugging you can watch and inspect with the debug view.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号