Disable HTML stack traces by Xdebug

前端 未结 3 786
不思量自难忘°
不思量自难忘° 2020-12-31 04:14

The administrator has installed Xdebug 2.1.1 in our shared PHP 5.3.0 server in order to use its debugger. Now, I can hardly read the stack traces of uncatched exceptions bec

3条回答
  •  别那么骄傲
    2020-12-31 04:25

    Add following code in the initialization Script:

     if (function_exists('xdebug_disable')) {
               xdebug_disable();
             }
    

提交回复
热议问题