rliao569 / Ryan-Blog-theREAL

MIT License
0 stars 0 forks source link

Debugging Event #4

Open rliao569 opened 6 months ago

rliao569 commented 6 months ago

1) start backend using debugging image Starting debugging in main.py

2) Set break point at beginning of breakpoint code, Starting breakpoint at the beginning of the endpoint _Security (to see login) image

3) Start in frontend with split screen loading source for an API fetch using GET. image

4) Set break point on fetch, inside .then, inside .fetch image image Set up break points on fetch, inside .then, and on error response.

5) Run frontend, screen capture break at fetch while examining Body image

6) Press play on frontend, observe stop inside of backend image

7) Press step over on backend until you have obtained data from database, screen capture Python Object image

8) Press play button to end backend debugging session. image

9) Return to frontend debug session image Page has redirected, showing successful login