Open Gurbop opened 4 months ago
Start backend using Debugging
Set break point at the beginning of endpoint code
Start in frontend with split screen loading source for an API fetch using GET.
Set breakpoint on fetch, inside .then, inside .fetch
Run frontend, screen capture break at fetch while examining Body
Press play on frontend, observe stop inside of backend
Press step over on backend until you have obtained data from database, screen capture Python Object
Press play button to end backend debugging session.
Return to frontend debug session
Step in until you see data, screen capture capturing break point and Data.
Start backend using Debugging![Screenshot 2024-03-05 3 16 45 PM](https://github.com/Gurbop/CSPBlog2/assets/142458920/7d612ad2-c38e-44ef-991d-698d7b0bb2b9)
Set break point at the beginning of endpoint code![Screenshot 2024-03-06 12 47 12 PM](https://github.com/Gurbop/CSPBlog2/assets/142458920/027dbd85-f7e8-40aa-b50e-6dde714d6980)
Start in frontend with split screen loading source for an API fetch using GET.
Set breakpoint on fetch, inside .then, inside .fetch![Screenshot 2024-03-06 1 01 24 PM](https://github.com/Gurbop/CSPBlog2/assets/142458920/13e610d2-f8c6-4db7-85c6-214a3e073daf)
Run frontend, screen capture break at fetch while examining Body![Screenshot 2024-03-06 1 00 59 PM](https://github.com/Gurbop/CSPBlog2/assets/142458920/cea87d19-d6cd-4217-8451-b7dca1b14407)
Press play on frontend, observe stop inside of backend![Screenshot 2024-03-07 3 19 30 PM](https://github.com/Gurbop/CSPBlog2/assets/142458920/0c20831a-b727-476a-b9d8-243190253260)
Press step over on backend until you have obtained data from database, screen capture Python Object
Press play button to end backend debugging session.
Return to frontend debug session
Step in until you see data, screen capture capturing break point and Data.