有時候為了trace code 下dd and dump 再exit 實在是有點麻煩,朋友推薦使用xdebug
這邊紀錄mac版本安裝操作流程
https://www.crifan.com/mac_vscode_debug_mamp_php_code/
https://stackoverflow.com/questions/65137732/xdebug-v3-doesnt-stop-breakpoints-in-vscode
https://xdebug.org/docs/upgrade_guide