php安装使用swoole框架yasd调试debug扩展

Yasd 扩展是 Swoole 官方开发的,一款实时单步骤 Debug 调试工具,可用于断点调试 Swoole 协程环境,支持 IDE 以及 命令行 的实时程序调试。Yasd 官方仓库github : https://github.com/swoole/yasdYasd 官方中文文档github : https://github.com/swoole/yasd/blob/master/README-CN.mdMacOS系统安装boost库brew install boostUbuntu系统安装boost库apt-get install libboost-all-devCentOS系统安装boost库yum install boost boost-devel安装 Swoole 官方Yasd调试扩展 分别有一下有两种安装方式 编译安装 , 直接安装编译 好的 so 文件推荐直接安装编译好的简单,安装速度快。编译安装 Swoole 官方 Yasd调试扩展git clone https://gitee.com/laiwi/yasd.git cd yasdphpize --clean &&...

PHP,软件工具,Linux,解决方案 2021-09-11 AM 1240次 1条

PHP使用XDebug远程断点调试

 本文主要通过PHPStrom在宝塔本地或远程虚拟机环境下使用XDebug进行安装及断点调试使用首先我们用到了以下PHP,XDebug测试环境CentOS Linux release 7.7.1908 (Core)VMware® Workstation 15 ProLinux宝塔管理面板PHP-7.4XDebug 2.8PHPStorm 2020.3.3通过宝塔安装XDebug(也可以通过其他方式安装)进入宝塔点击软件商店已安装找到相应的PHP版本设置点击安装扩展找到xdebug插件安装点击左侧配置文件进行插件配置zend_extension=/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so xdebug.remote_port=9018 xdebug.remote_autostart=1 xdebug.auto_trace=1 xdebug.remote_host="192.168.1.100" xdebug.remote_enable=1 xdebug.idekey = "PHP...

PHP 2021-08-22 PM 1073次 0条