How To Debug PHP Code And Useful PHP Debugging ...-程序员宅基地

技术标签: python  php  c/c++  

PHP does not have an internal debugging facility. You can use only external tools to debug PHP code. Here i tried to list down PHP debugging tools, which are extremely useful, but listing down these tools was not enough because you don’t know how to use them so i have compiled those tutorials too.

Here is the list of tools:

PHP Debugging Tools

1. Gubed PHP Debugger

Gubed is a cross platform program to debug PHP scripts.

Gubed PHP Debugger

2. PHP Debug

The basic purpose of PHP_Debug is to provide assistance in debugging PHP code, by “debug” i don’t mean “step by step debug” but program trace, variables display, process time, included files, queries executed, watch variables.

PHP Debug

3. DBG

DBG is a a full-featured php debugger, an interactive tool that helps you debugging php scripts.

DBG | PHP Debugger and Profiler

4. PHP Dyn

PHP Dyn is PHP Extension to help debugging a PHP script.You can get execution trace of scripts not to need change them.HTTP request parameter can be printed.Argument value of the function call and return value can be printed.

PHP Dyn

5. Xdebug

The Xdebug extension helps you debugging your script by providing a lot of valuable debug information.

Xdebug extension

5. Webgrind

webgrind安装使用详细说明

Webgrind is an Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms.

Webgrind PHP Debugger

6. MacGDBp

Debugging a live, running PHP application has never been so easy. It’s a live PHP debugger application for the Mac OS.

MacGDBp PHP Debugger

7. Advanced PHP Debugger

APD is a full-featured profiler/debugger that is loaded as a zend_extension. It aims to be an analog of C’s gprof or Perl’s Devel::DProf.

Advanced PHP Debugger

How To Debug PHP Code

How to Debug PHP Using Firefox with FirePHP

This article shares an elegant, simple, and more maintainable way of debugging Ajax apps via the web browser (more specifically for the Mozilla Firefox browser). You’ll learn the basics of leveraging Firefox in conjunction with Firebug and FirePHP to implement FirePHP libraries on web apps and logging messages in the Firebug console.

Debug PHP Using Firefox with FirePHP

How to Debug in PHP

This article breaks down the fundamentals of debugging in PHP, helps you understand PHP’s error messages and introduces you to some useful tools to help make the process a little less painful.

How to Debug in PHP

Debugging PHP using Eclipse and PDT

Use XDebug or Zend Debugger to boost your productivity when fixing bugs in PHP applications.

Debugging PHP using Eclipse

Debugging PHP with Xdebug

The Xdebug is the extension for PHP that helps debugging PHP scripts by providing a lot of valuable debug information. The debug information includes stack traces and function traces in error messages, memory allocation and protection for infinite recursions.

Debugging PHP With Xdebug

Debug PHP with DBG Wizard

You can easily debug PHP with PhpED’s PHP Debugger. Setting up your system to debug php scripts can be tricky but PhpED’s Settings Wizard can take care of the majority of the debugging configurations.

Debug PHP with DBG Wizard

转载于:https://my.oschina.net/mickelfeng/blog/151234

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/weixin_33888907/article/details/92485616

智能推荐

js高级_高级鸡js-程序员宅基地

文章浏览阅读161次。1.原型链注释:①结构函数本质就是函数,只是人为命名且标识符首字母大写来区分,原型对象本质就是对象.②在js中每个结构函数都拥有一个原型对象可以通过prototype来指向对应原型对象,_高级鸡js

php常见的45个漏洞及解决方案_php 常见漏洞-程序员宅基地

文章浏览阅读1.1k次,点赞23次,收藏11次。php常见45个漏洞及解决方案_php 常见漏洞

SAP 物料货架寿命_为什么需要延长sap 物料货架寿命-程序员宅基地

文章浏览阅读4.1k次,点赞4次,收藏28次。SAP 物料货架寿命、保质期管理 对于企业来说自购料都具有一定的保质期,根据企业的规定,已经过期的物资不得再收货入库,或者不允许领用出库、销售等,这类物料库存在SAP系统中可以通过货架寿命来进行管理。主要通过以下两个步骤来启用货架寿命管理 物料主数据(启用批次管理) MM02 => 物料主数据 => 一般工厂数据/存储1总货架寿命:即 物料保质期,从生产日期到货架存放期过期日期的物料总保留期限。最小剩余货架寿命:如果总货架寿命输入了值,那么最小剩余货架寿命必须输入.._为什么需要延长sap 物料货架寿命

IDE工具(39) idea一键生成所有setter方法(GenerateAllSetter插件)_idea genallsetter-程序员宅基地

文章浏览阅读2.4w次,点赞6次,收藏13次。GenerateAllSetter插件使用效果如下:alt+center快捷键选择Generate all setter之后就会自动生成其中的所有setter方法下面介绍idea安装步骤:alt+ctrl+s 快捷键进入设置,在Plugins中搜索GenerateAllSetter安装插件然后重启idea即可~..._idea genallsetter

使用java swing制作人机五子棋_swing制作五子棋-程序员宅基地

文章浏览阅读387次。使用java swing制作人机五子棋背景算法原理棋盘分值更新范围:背景算法老师要求交个大作业什么的,自己就选择了制作“利用所学算法知识设计一个人机对弈程序或软件”这个课题,顺便首次记录一下自己独自写一个小项目的过程,中间花费了不少心思,果然只有亲身经历才能深刻体会算法和设计模式的魅力,写下这篇文章也算对自己的努力有个交代。算法原理使用四种符号代表棋盘上各个点的状态:X代表黑棋(AI),O代表白棋(人类),L代表无人下棋,E代表越界(棋盘范围之外)。想要AI下棋,就必须掌握当前局势,知道自己应该或_swing制作五子棋

从网络获取图片实现无限轮播-程序员宅基地

文章浏览阅读673次。//网络请求数据工具类import java.io.BufferedReader;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.net.HttpURLConnection;import java.net.URL;public clas...

随便推点

英特尔公司-程序员宅基地

文章浏览阅读119次。英特尔公司(Intel Corporation)(NASDAQ:INTC,港交所:4335),总部位于美国加州,工程技术部和销售部以及6个芯片制造工厂位于美国俄勒冈州波特兰。英特尔的创始人罗伯特·诺伊斯Robert Noyce和戈登·摩尔Gordon Moore原本希望他们新公司的名称为两人名字的组合——Moore Noyce,但当他们去工商局登记时,却发现这个名字已经被一家连锁酒店抢先注册。不得..._英特尔公司(英语:intel corporation,nasdaq:intc、港交所:4335)是世界上最大的半

嵌入式linux调试串口作为普通串口使用_uboot调试串口改普通口-程序员宅基地

文章浏览阅读1.6k次。一、介绍一般一个linux开发板的串口0默认作为调试串口使用,也就是linux的shell调试终端,如果要作为普通串口使用需要相应的设置,这里以应用层修改的方法介绍怎么使用二、使用方法1、切换调试终端到其他串口//将shell切换到其他串口终端int change_cosole(char *tty){ int fp = 0; fp = open(tty, O_RDONLY); if(fp == -1) { printf("切换调试串口失败\n"_uboot调试串口改普通口

JS函数中形参和实参的关系(形参数量可以小于实参数量)_形参大于实参-程序员宅基地

文章浏览阅读2.1k次。在js函数中,形参的作用是用来接收实参传来的数据,(形参可以接收任何数据类型的数据,数组,字符串…函数等等)举例:function sum(num1, num2) { let a = num1 + num2; return a; } console.log(sum(1, 2));其中 num1和num2为形参, 打印时调用函数括号内的(1,2)为实参,调用函数时将1和2的值分别赋值给num1和num2;因此结果为3;这是_形参大于实参

windows系统上使用magic trackpad妙控触摸板_妙控板windows驱动-程序员宅基地

文章浏览阅读1.9w次,点赞18次,收藏40次。windows系统上使用magic trackpad妙控触摸板前言最近在家学习很少打游戏,想了一下翻出了我箱子里我之前mac mini用的trackpad,因为我之前的笔记本自带触控板也是支持手势的,我在想我的台式是不是也可以连接trackpad,因为太馋这个手势了!!!!yyds于是我通过不断查资料发现了一个github的开源驱动,完美解决!!正文1、下载最新的驱动 https://github.com/imbushuo/mac-precision-touchpad/releases(选择_妙控板windows驱动

计算机视觉学习--目标检测算法分类_基于深度学习的目标分类用什么-程序员宅基地

文章浏览阅读3.3k次。基于深度学习的目标检测算法主要分为两类:1 two stage:先进行区域生成(一个可能包含待检测物体的预选框),在通过卷积神经网络进行样本分类。常见的算法:R-CNN SPP-Net Fast R-CNN R-FCN Faster R-CNN等2 one stage:不用RP,直接在网络中提取特征来预测物体的分类和位置常见的算法:YOLOv1 YOLOV2 YOLOV3 ..._基于深度学习的目标分类用什么

openresty lua 发送http请求_windows openresty通过lua-rest-http发送http-程序员宅基地

文章浏览阅读7.6k次。openresty中http请求环境构建:openresty docker依赖:lua-resty-http可直接下载http.lua/http_headers.lua放到/usr/local/openresty/lualib/resty/目录下即可lua脚本对请求拦截nginx.conf配置文件中如下处理http模块中添加 # lua package path 支持引用/us..._windows openresty通过lua-rest-http发送http

推荐文章

热门文章

相关标签