PhpStorm 配置

  1. 安装php
  2. 配置
    • File | Settings | Languages & Frameworks | PHP
  3. 运行
  4. 安装配置xdebug
    - 查看安装版本 https://xdebug.org/wizard.php
    - 配置
    [Xdebug] zend_extension="示例:E:\php\ext\php_xdebug.dll" xdebug.remote_enable=1 xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.idekey = PHPSTORM
    - 安装成功后, 打开phpinfo页面信息
    -
    - 安装浏览器插件
    - https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc

  5. Debug
    • 打断点
    • 点击这个按钮, 使他变成监听状态, 不Debug时关闭它
    • 如果弹出窗口的默认就ok

猜你喜欢

转载自www.cnblogs.com/edhg/p/9951118.html