eshaank1 / csp

DNHS CSP Blog
https://eshaank1.github.io/csp/
MIT License
0 stars 0 forks source link

Eshaan Kumar Debugging #12

Open eshaank1 opened 4 months ago

eshaank1 commented 4 months ago
  1. Start the backend using debugging image
  2. Set a breakpoint at the top of the endpoint code image
  3. Start the frontend and split screen to loading source for an API fetch using GET image
  4. Set break point on fetch, inside .then, inside .fetch image
  5. Run frontend, it breaks at the fetch in the body code image
  6. Play on frontend, observe the stop on the backend image
  7. Step over on backend until you obtain the data from the database image
  8. End the debugging session image
  9. Step over on frontend until you obtain the data which leads to a successful login image
anaghaa1206 commented 4 months ago

Grade: 1.85/2 Comment: Show more on the frontend such as the console showing what error you had.