我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何使用xdebug调试脚本[关闭]

I want something like this:

Simplest way to profile a PHP script

But I can't install APD because I use windows and can't find any Windows binary for APD :(

Can I do that with XDebug? If yes, how?

Right now I use WAMP with PHP 5.3.9 (has Xdebug enabled)

SET those variable :

 xdebug.profiler_enable = 1
 xdebug.profiler_output_dir = /some/directory

Open your the generated file with something like kcachegrind on linux, you could try WinCacheGrind on windows.

More information here.

近期文章

  • 如何将此多维数组放入SQL-DB单元格?
  • 将图像链接保存到我服务器上的文件时遇到困难? [关闭]
  • PHP多维数组搜索键和显示值
  • 阅读我的博客中的更多按钮[关闭]
  • 为什么这个AJAX代码在IE8中不起作用?
  • 提供给函数的无效参数[关闭]
  • too long
  • PHP数组。 将表中的每一行数据更改为字符串,然后传递给数组
  • 如何比较两个数组,然后为'matches'添加一个类到从新数组生成的输出选择选项?
  • PHP_SELF和XSS [重复]
  • 流视频php
  • 如何验证窗口注册表脚本[关闭]
  • too long
  • 如何仅查询第二级别类别?
  • too long
  • 我的网站爬虫在运行时死亡
  • 这个Twitter身份验证有什么问题
  • 链接杀死连接用户PHP的连接
  • 为什么Exif shell有效负载没有在浏览器中执行?
  • 语法错误,代码中出现意外的'public'(T_PUBLIC)? [重复]

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华