If you need urgent consulting help click here
Debugging
Debugging can be done both using the physical board and inside a simulation.
To debug the physical board use:
# From the root of the zephyr repository
west build -b nucleo_f401re apps/shell
west debug
To debug inside a simulation use:
west -t boardbench_debugserver
Then connect to the debugserver using GDB.