When you use the New Project Wizard within S32 Design Studio to create a project, starting a debugging session is easy since the wizard creates the debug configuration for you.
In this document, the case for NXP devices supported by the GDB PEMicro Debugging Interface is detailed.
Prerequisites
Procedure
If you already know which build configuration is desired, you can preselect it. If not, one is already selected for you by default. It will be noted with a check mark. Typical options contain choices between RAM and FLASH memory builds and for each a choice between Debug and Release. For debugging purposes the Debug option should be selected.
Or, select the build type from the pick list. This will start the build for the build type selected, regardless of which one is marked with a check mark.