If it is a configASSERT, read the comments surrounding the assertion. If it fails before the scheduler starts, you've likely overflowed your FreeRTOS heap.
Any one of the following:
Task stack overflows
Misprioritized ISRs
Inadequate heap size
False. Debugging tools such as Segger SystemView exist, which provide both printf-style output as well as instrumentation for observing the code's behavior.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.