The following is not related to HotaruCMS.
For those of you that are developing PHP code and use Xdebug.
Using the xdebug.profiler_enable by default can create lots of files that you usually don't want/need.
You can turn off the xdebug.profiler_enable and turn on the xdebug.profiler_enable_trigger.
Then use the XDEBUG_PROFILE trigger in the URL as a GET parameter.
Use the following as a bookmarklet to make use of this quick and easy.
Code:javascript:if(document.URL.indexOf('XDEBUG_PROFILE')<1){window.location.href=document.URL+((document.URL.indexOf('?')<1)?'?':'&')+'XDEBUG_PROFILE';}




Reply With Quote
Bookmarks