https://blog.csdn.net/u013474104/article/details/78445316 参考大佬的配置过程
但在最后我在配置是php.ini的时候写法和大佬不一样,参考来自于phpstudy其他版本的php.ini写法
[xdebug]
zend_extension = C:\PortableSoft\phpStudy\php70n\ext\php_xdebug-2.6.1-7.0-vc14-nts.dll
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir ="C:\PortableSoft\phpStudy\tmp\xdebug"
xdebug.trace_output_dir ="C:\PortableSoft\phpStudy\tmp\xdebug"
xdebug.profiler_output_name = "cache.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
添加key
xdebug.idekey= PHPSTROM