Xdebug Toggler is a Safari extension which allows you to auto start Xdebug debugging with the click of a button
The full blog post explaining how to use it can be found here
To install this extension, select the version you would like from here and download using the browser of your choice. Once you have downloaded the extension, double click it. This should then open Safari and ask the question if you want to install it, select "Install"
A configuration overview can be found here