The best manual of how to use "The easiest Xdebug" addon for Firefox
Installation notes
0. Install the best Firefox add-on for remote debugging The easiest Xdebug. I'm not lying.
1. Install the xdebug extension from PECL or from a repo or download sources to compile it manually:
- git clone git://github.com/derickr/xdebug.git
- Xdebug downloads page
2. Compile the extension
- cd /xdebug/src/path
- /path/to/your/phpize
- ./configure --prefix=/php/installation/prefix --enable-xdebug --with-php-config=/path/to/your/php-config
- make -j4
- sudo make install
4. Configure Xdebug in your php.ini
- zend_extension="/path/to/installed/extension/xdebug.so"
- xdebug.remote_enable=true
- xdebug.remote_host=127.0.0.1
- xdebug.remote_port=10000 (port 9000 is occupied by FPM, but you can set another)
- xdebug.remote_autostart=1
- xdebug.idekey= (you can just leave it empty)
3. Make sure Xdebug was installed successfully
- /path/to/your/php -i | grep xdebug
4. Don't forget to configure your fastcgi-server if you use one (example of nginx server config):
- fastcgi_param PHP_IDE_CONFIG serverName=$server_name;
5. Don't forget to reload your web-server or php-fpm.
IDE configuration
- Configure your xdebug port (10000 is our case)

- Filter external connections if you don't want to accept debug requests from aside
- Add server configuration of your site

- Go to Run->Edit configurations. Add "PHP Remote Debug"
configuration, select your server (that you just added) and enter
IDE-key, a string that will filter debug data by debug-session name:

Action!
- Select Run->Debug... and select your remote configuration name (as you named it above):

IDE now listens incoming connections on port 10000. (Hey, article writers, do you fucking know that IDE is a server here? Yes, xdebug sends data directly to IDE) - Confgure your addon in Firefox. Go to
Tools->Addons->Extensions->The easiest Xdebug and change your
IDE-key to selected one.

- Open the site page that you want to debug and click the "bug" icon on your Addon Bar. It will become colorized and animated.
This means that session name is set and after page reloading IDE will stop at your first breakpoint (in this manual you will not find what it is).

Also there is a usefull page for checking cookies that the add-on sets: http://manual.pohape.ru/xtest/
The best manual of how to use "The easiest Xdebug" addon for Firefox的更多相关文章
- python selenuim使用代理的方式
一.FireFox浏览器 myProxy = "60.195.250.55:80" proxy = Proxy({ 'proxyType': ProxyType.MANUAL, ' ...
- OWASP出品:Xenotix XSS漏洞测试框架及简单使用
OWASP Xenotix XSS Exploit Framework是一个高效的跨站脚本漏洞(XSS)检测和攻击测试框架.它通过特有的三大浏览器引擎(包括Trident, WebKit和Gecko) ...
- python应用:selenium之爬取天眼查信息
inform_table.py # -*-coding:utf8-*- from selenium import webdriver from selenium.webdriver.common.pr ...
- Mongodb 3.2 Manual阅读笔记:CH9 存储
9. 存储 9. 存储 9.1 存储引擎 9.1.1 WiredTiger存储引擎 9.1.1.1 文档级别并发 9.1.1.2 快照和检查点 9.1.1.3 Journaling 9.1.1.4 压 ...
- OpenCASCADE6.8.0 Reference Manual Serach Problem
OpenCASCADE6.8.0 Reference Manual Serach Problem eryar@163.com 1. Problem 有网友反映OpenCASCADE6.8.0的Refe ...
- [MySQL Reference Manual]14 InnoDB存储引擎
14 InnoDB存储引擎 14 InnoDB存储引擎 14.1 InnoDB说明 14.1.1 InnoDB作为默认存储引擎 14.1.1.1 存储引擎的趋势 14.1.1.2 InnoDB变成默认 ...
- Manual——Test (翻译1)
LTE Manual ——Logging(翻译) (本文为个人学习笔记,如有不当的地方,欢迎指正!) 1.17.3 Testing framework(测试框架) ns-3 包含一个仿真核心引擎. ...
- LTE Manual ——Logging(翻译)
LTE Manual ——Logging(翻译) (本文为个人学习笔记,如有不当的地方,欢迎指正!) 9 Logging ns-3 日志功能可以用于监测或调试仿真程序的进展.日志输出可以通过 ma ...
- ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 7
问题: 使用hibernate4.1.1,数据库使用mysql5.1.30,使用hibernate自动生成数据库表时,hibernate方言使用org.hibernate.dialect.MySQLI ...
随机推荐
- YOLO系列:YOLO v2深度解析 v1 vs v2
概述 第一,在保持原有速度的优势之下,精度上得以提升.VOC 2007数据集测试,67FPS下mAP达到76.8%,40FPS下mAP达到78.6%,可以与Faster R-CNN和SSD一战 第二, ...
- 把存储过程结果集SELECT INTO到临时表
把存储过程结果集SELECT INTO到临时表 在开发过程中,很多时候要把结果集存放到临时表中,常用的方法有两种. 一. SELECT INTO . 使用select into会自动生成临时表,不需要 ...
- JavaScript基础笔记(一)基本概念
基本概念 一.语法 一)区分大小写 二)标识符 书写规则同Java 三)注释 略 四)严格模式 1.在整个脚本中启用严格模式:在顶部添加 "use strict" 2.指定函数在严 ...
- Ubuntu下使用cmake生成可执行文件
1.单个CPP文件的cmake 首先编写一个简单的程序(main.cpp): #include <iostream> using namespace std; int main() { c ...
- BZOJ2268 : Wormly
考虑头部,一定是能向前就向前,因此是最左边的腿往右$b-1$个位置. 头部移动之后,腿部就要相应地移动到区间内最靠右的$l$个$1$之上. 若头部和腿部都不能移动,检查是否到达终点即可. 用前缀和以及 ...
- yii2 用 bootstrap 给元素添加背景色
使用 bootstrap 给元素添加背景色 1.bootstrap 官网:http://getbootstrap.com/ 2.bootstrap 中文官网:http://v3.bootcss.com ...
- PAT基础6-6
6-6 求单链表结点的阶乘和 (15 分) 本题要求实现一个函数,求单链表L结点的阶乘和.这里默认所有结点的值非负,且题目保证结果在int范围内. 函数接口定义: int FactorialSum( ...
- delphi button 实现下拉列表
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms ...
- 在Mac平台上安装配置ELK时的一些总结
一.前言 大数据处理是流行的一些表现,在不断壮大的数据处理中,怎么样处理数据才是我们继续做好开发的正道.本文章来自网络,不敢原创,但是也有很大借鉴. 二.MAC安装ELK 首先是安装elast ...
- 关于jmeter命令行执行.jmx文件出现Error in NonGUIDriver java.lang.RuntimeException: Could not find the TestPlan c