
First, I setup the breakpoints at the beginning of the endpoint code in the frontend.
NOTE: The bottom right (computer name) shows that this is my machine and it was all run on my machine.

After pressing play on the frontend and then running + debugging on the backend, I added a breakpoint where the ArrayList is stored with comments for each game. In the screenshot above, it shows how all the comments in the ArrayList are being populated for the current game (as seen in the frontend screenshot, "Current").

In this last screenshot, the backend data goes to the frontend and is loaded up.
Overall: I think that debugging is a very useful skill, especially when we have complicated functions or whatnot that we need to debug errors for. Furthermore, you don't have to console.log everytime you want to find an error. For example, in the frontend, if you are debugging, you can access the data:

I think this would be even more useful in a larger codebase, where there is data coming in from multiple locations and you don't want to have to System.println everytime to figure out what your error is.
First, I setup the breakpoints at the beginning of the endpoint code in the frontend.
NOTE: The bottom right (computer name) shows that this is my machine and it was all run on my machine.
After pressing play on the frontend and then running + debugging on the backend, I added a breakpoint where the ArrayList is stored with comments for each game. In the screenshot above, it shows how all the comments in the ArrayList are being populated for the current game (as seen in the frontend screenshot, "Current").
In this last screenshot, the backend data goes to the frontend and is loaded up.
Overall: I think that debugging is a very useful skill, especially when we have complicated functions or whatnot that we need to debug errors for. Furthermore, you don't have to console.log everytime you want to find an error. For example, in the frontend, if you are debugging, you can access the data:
I think this would be even more useful in a larger codebase, where there is data coming in from multiple locations and you don't want to have to System.println everytime to figure out what your error is.