博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
How To Debug PHP Code And Useful PHP Debugging ...
阅读量:6433 次
发布时间:2019-06-23

本文共 2699 字,大约阅读时间需要 8 分钟。

hot3.png

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 is a a full-featured php debugger, an interactive tool that helps you debugging php scripts.

4. 

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.

5. 

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

5. 

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.

6. 

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

7. 

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.

How To Debug PHP Code

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.

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

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

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.

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.

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

你可能感兴趣的文章
Sequelize 中文文档 v4 - Basic usage - 基本用法
查看>>
webpack 教程资源收集
查看>>
[面试专题]JS异步原理(事件,队列)
查看>>
“科技猫”联合创始人古茜:懂科技的女生更性感
查看>>
JS基础之常用小技巧和知识总结(二)
查看>>
两种高效的事件处理模式
查看>>
Windows Redis3 安装
查看>>
TypeScript语法简介
查看>>
Django 博客开发教程 15 - 使用 Fabric 自动化部署
查看>>
React项目笔记之create-react-app自定义ESLint配置文件
查看>>
Angular 2 HostListener & HostBinding
查看>>
一个PHP开发者总结的九条建议
查看>>
你应当知道的7个Java工具
查看>>
浏览器工作原理
查看>>
为何点击A标签没反应
查看>>
跨域CORS 带Cookie传递,在nodejs + express中的具体实现
查看>>
TensorFlow学习笔记(8):基于MNIST数据的循环神经网络RNN
查看>>
重新开始噼里啪啦写小文字啦~
查看>>
强不强?能在多种前端框架下使用的表格控件
查看>>
Mysql必知必会(4):使用正则表达式搜索(REGEXP)
查看>>