在php.ini里找到[Xdebug]下面,有很多选项,设置xdebug.profiler_enable = 1xdebug.profiler_enable_trigger = 1xdebug.remote_enable = 1即可