MxSrvs

简介

免费的集成开发环境

下载链接

MxSrvs

image-20211122222106384

phpstrom

下载链接

mac破解软件下载,搜索phpstrom进行下载

image-20211122222638918

激活

  1. 安装(已激活,借用图片)

    img

  2. 插件市场安装:

Settings/Preferences... -> Plugins 内手动添加第三方插件仓库地址:https://plugins.zhile.io 搜索:IDE Eval Reset 插件进行安装。

image-20211122223217351

image-20211122223230347

image-20211122223250703

开启xdebug

1、打开MxSrvs,修改php配置文件

[xdebug]
zend_extension = "/Applications/MxSrvs/bin/php/ext/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.var_display_max_depth = 512
xdebug.profiler_append = 1
xdebug.profiler_enable_trigger = 1
xdebug.max_nesting_level = 200
xdebug.profiler_output_dir = "/Applications/MxSrvs/logs/xdebug"
xdebug.profiler_output_name = "cachegrind.out.%t.%p"
xdebug.remote_host=localhost
xdebug.remote_port=9001
xdebug.idekey=PHPSTROM

image-20211122223406244

2、出现以下信息,开启成功

image-20211122224207518

配置phpstrom

1、在preferences->php->添加解释器,选择php路径(/Applications/MxSrvs/bin/php/bin/php)

image-20211122224442795

image-20211122224535245

2、修改xdebug端口,与配置文件中一致

image-20211122224621840

3、添加key值

image-20211122224659787

4、点击右上角

image-20211122224739899

5、添加PHP Web Page

image-20211122224812186

6、添加完成

测试

1、编写测试php,添加断点

image-20211122224912029

2、打开监听,开始调试

image-20211122225012877

3、收到信息

image-20211122225135096

文章作者: weehhd
版权声明: 本站所有文章除特别声明外,均採用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 weehhd
代码审计
喜欢就支持一下吧
打赏
微信 微信
支付宝 支付宝