xdebug.idekey= PHPSTORM 在任意网站下创建phpinfo.php,内容为: <?phpphpinfo();?> 修改网站的php版本为配置xdebug的版本,因为5.4.45的配置过了,就在7.3.4下演示 访问网站下的phpinfo.php http://localhost/phpinfo.php 看到IDE Key的值为PHPSTORM 接下来配置phpstorm,如图 将PHP可执行文件、配置文件、调试器...
1.配置niginx.ini,新增 server节点,比如使用9200 端口 2.配置php.ini,修改XDebug节点 3.配置ppstorm , 选择对应php版本,xdebug端口,与调试地址
xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug";性能分析文件的存放位置,默认值为/tmp xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug";打开xdebug的性能分析器,以文件形式存储,这项配置是不能以ini_set()函数配置的,默认值为0xdebug.profiler_enable=1;性能分析文件的命名规则,默认值为cachegrind.out...
xdebug.profiler_enable = 1 ;性能分析文件的命名规则,默认值为cachegrind.out.%p xdebug.profiler_output_name = "cachegrind.out.%t.%p" xdebug.remote_enable = 1 ;用于zend studio远程调试的应用层通信协议 xdebug.remote_handler = "dbgp" xdebug.idekey = PHPSTORM xdebug.remote_host = "127.0.0.1" xde...
xdebug.remote_enable = 1 ;用于zend studio远程调试的应用层通信协议 xdebug.remote_handler = "dbgp" xdebug.idekey = PHPSTORM xdebug.remote_host = "127.0.0.1" xdebug.remote_port = 9001 3、phpstorm配置 1)选择PHP版本 文件->设置 –>语言和框架 –> PHP ...
(2)PhpStorm(√) 让读者如虎添翼 一、PHPStudy环境 1.1、版本: PHP8.1.1.3-Apache2.4.39 1.2、步骤: (1)phpStudy --->网站---> 管理---> PHP扩展 ---> Xdebug (2)PHP.ini---配置文件---点击对应的php 低版本就是添加的XDbug(或者高版本就是修改) ...
在“DBGp Proxy”选项卡中,配置Xdebug的端口号(与php.ini中的xdebug.client_port一致)。点击“OK”保存配置。启动调试: 在PHPStorm中打开要调试的PHP文件,并设置断点。 点击PHPStorm工具栏上的“Debug”按钮(或使用快捷键Shift+F9),选择“PHP Web Page”作为调试配置。 在弹出的对话框中,选择之前配置的服务器...
想要在phpstorm中调试请满足一个条件。那就是安装在d盘。为什么呢?因为这样方便复制粘贴呀, 要开启phpstudy中的php扩展的xdebug啊 第一步:phpstudy里面的php.ini中:复制粘贴 代码语言:javascript 代码运行次数:0 [Xdebug]xdebug.default_enable=On xdebug.idekey="PHPSTORM"zend_extension=D:/phpstudy_pro/Extension...
xdebug.remote_enable=Off xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.remote_autostart=1 xdebug.remote_enable=On xdebug.idekey=”PHPSTORM” 或者 网站配置文件里 FcgidIOTimeout 3000 #程序响应超时时间
IED key输入刚刚php.ini文件中xdebug.idekey的值,Host、Port是File->Settings->Languages&Frameworks->PHP->Servers中设定的Host、Port值,具体配置如下图: 4.4、开启XDebug调试 在phpStorm里打开监听,就是一个电话一样的按钮,点击变为绿色,在程序代码点前点击,设置程序段点,点击绿色的debug爬虫按钮,chrome浏览器打开...