The PyCharm Debugger
Foreword
The debugger IDE is the developer's best friend. No contest. If given the option of having Brendan Eich, James Gosling, Anders Hejlsberg, Guido van Rossum, and Bjarne Stroustrup in your contact list, available 24x7 or, having the debugger, always elect the debugger. Not even close. Not only does it provide priceless and insightful perspective of program state, it enables you to obtain that vision.
Functionality
- Break Point - Set a break (pause) point first by clicking in the gutter or pressing Ctrl-F8
- Run the Code in Debug Mode - R-click in code editor | Debug or Shift-Alt-F9
- Step Over (F8) - execute but don't debug function/method
- Step Into (F7) - execute code line-by-line
- Step Into My Code (Alt-Shift-F7) - execute only my code line-by-line
- Step Out (Shift-F8) - debugger goes back to previous point but also executes code in function/method
- Variables Window - variables in current scope