Monday, January 21, 2019

Debugger In Python

In Window

PyCharm

STEP-1: Toggle the line(Enabling debugging )
STEP-2: Right click on file --> Debug
STEP-3: Hit API from rest client like postman, advance rest client
STEP-4: Use F8 to move line by line or F9 to move toggle point by point.


Note - If debugging is not working in PyCharm.

STEP-1

for Windows and Linux
File | Settings | Build, Execution, Deployment | Python Debugger
for macOS
PyCharm | Preferences | Build, Execution, Deployment | Python Debugger

Shortcut - Ctrl+Alt+S

STEP-2

 and uncheck the option "PyQt compatible".


No comments:

Post a Comment