Hi @HaiHoangSoftware
It doesn't matter if HSE services are launched by your code running on MCU or by debugger. The result is the same.
In case of mentioned services, you can take a look at S32K344_CQC_DEMO in HSE Demo Examples:
https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples
c:\NXP\S32K3_HSE_DemoExamples_1_0_0\S32K3_HSE_DemoExamples\Device_Configuration\S32K344_CQC_DEMO\
This demo shows how to set ADKP, how to advance the life cycle etc.
You can write cmm script to do the same by your debugger - just initialize a service descriptor somewhere in RAM and then launch such service by writing to transmit register in MU.
Regards,
Lukas