php Xdebug
去chrome安装Xdebug helper扩展 ide-key 根据编辑器情况弄
安装之后浏览器右上角就会有一只虫子图标,右键点击进入选项设置如下图保存
为php安装xdebug然后添加配置php.ini
(这有个坑,原先php.ini中有xdebug的配置要注释)
zend_extension = “D:\phpstudy_pro\Extensions\php\php7.2.9nts\ext\php_xdebug.dll”
#路径
xdebug.remote_enable = on
xdebug.remote_handler = “dbgp”
xdebug.remote_host = “127.0.0.1”
xdebug.remote_port = 9000
在就是编辑器的配置
各个编辑器不同,具体自行搜索