Debugging

Frontend

The easiest way to debug the frontend is by using Google DevToolsarrow-up-right.

On the frontend code, place adebugger where you want the code to stop.

Then on Google Chrome, open the Google DevToolsarrow-up-right.

When the application reaches some debugger, it will stop and you can inspect the application state at that point.

Backend

To debug the backend, you must use the VSCode editorarrow-up-right.

  1. Click on the Debugger tab (left).

  2. Launch the Program.

  3. Open the Debug Console tab (bottom).

Now that the application is running, you can place a debugger anywhere on the backend code and it will stop when it reaches the breakpoint so you can insect the application state.

circle-exclamation

More about VSCode debugging:

Last updated