xdebug

Xdebug triggered by Code Sniffer in PHPStorm

非 Y 不嫁゛ 提交于 2019-12-06 08:02:52
问题 I have both xdebug and Code Sniffer working great on my installation of PHPStorm, but the one really annoying part is that the debugger now seems to be treating Code Sniffer errors as breakpoints and interrupts the code to let me know of style warnings while I'm trying to test out code. What can I do to prevent Code Sniffer from being caught by the remote debugger in PHPStorm? PS: I'm running Apache, using virtual hosts to map certain URLs to folders on my computer, and code sniffer never

Getting error in XDEBUG

限于喜欢 提交于 2019-12-06 07:40:15
I just installed xdebug on my eclipse PDT installation and now I am getting the following error when trying to debug my PHP code using XDEBUG on my local debian box: web launch already running 2 questions: How can I kill this within Eclipse without getting out of Eclipse all together? Is there an additional configuration setting that needs to be set that were not in my instructions? Any help/direction would be appreciated as I'm at the point where I'm starting to pull my hair out. Thanks! Here is what I added to my php.ini file in the Dynamic Extensions section per instructions: ;load module

PHP (WAMP) - Exlipse PDT, xDebug: not stopping at breakpoint

我的梦境 提交于 2019-12-06 07:18:31
问题 I am able to debug only if I check the Option "Break at First line" . If I un-check it and place a breakpoint at some line then the debugger doesn't stop at that line. I need the debugger to stop at the breakpoints I set, not at the fist line of the file. I've added the following lines in my php.ini file: zend_extension = "c:/wamp/bin/php/php5.3.8/ext/php_xdebug-2.1.2-5.3-vc9.dll" xdebug.remote_enable = on xdebug.remote_handler = dbgp xdebug.remote_host = localhost xdebug.remote_port = 9000 I

How to set the correct URL for eclipse PHP debugging

时光总嘲笑我的痴心妄想 提交于 2019-12-06 07:16:32
问题 I'm having a trouble setting up PHP debugging in Eclipse with a non standard URL. The URL for my application must be http://xxx/index.php. That's something I cannot easily change. I'm constantly failing in setting up the debug configuration to call this URL. This is what I've set up: The URL I'm getting is http://xxxx/xxxx/index.php?. This has one xxxx too much. How can I get rid of this? 回答1: In the file field, you wrote /xxxx/index.php , change that to /index.php 回答2: You are able to

xdebug vim plugin doesn't show variable values (php)

对着背影说爱祢 提交于 2019-12-06 06:53:27
I'm on Ubuntu 10.04 LTS vim version 7.2.330 xdebug vim plugin version 1.1.1 (downloaded from http://www.vim.org/scripts/script.php?script_id=1929 ) PHP 5.3.2 Apache/2.2.14 Xdebug v2.0.5 I have these options in my /etc/php5/apache2/php.ini file [debug] ; Remote settings xdebug.remote_autostart=off xdebug.remote_enable=on xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=localhost xdebug.remote_port=9000 ; General xdebug.auto_trace=off xdebug.collect_includes=on xdebug.collect_params=off xdebug.collect_return=off xdebug.default_enable=on xdebug.extended_info=1 xdebug.manual

Xdebug in Netbeans: not stopping on breakpoint inside file in “web root's” parent folder

允我心安 提交于 2019-12-06 06:19:52
I have a netbeans project with a directory tree like this: <source folder> | |---> gui <web root folder> | | | L---> datos.php | L---> index.php datos.php changes the working directory to .. (source folder) and includes index.php like this: chdir('..'); require 'index.php'; If I put a breakpoint inside datos.php, the debugger breaks on it correctly, but when putting one in index.php it ignores it. The strange thing is 6 months ago I had the same problem and I was able to fix it. Now I don't know why it stopped working and what I did back then to fix it. More info: xdebug log shows the

xDebug seems OK installed, but not connecting with NetBeans

白昼怎懂夜的黑 提交于 2019-12-06 06:12:01
I have now tried for hours getting xDebug (2.0.5 compiled from source) to work on my MacBook OS X with NetBeans 6.8. I have installed MAMP and am running a small PHP (5.2) test program with it, no problem. But when I try to debug I get this text in Netbeans: "Waiting for connection (netbeans-xdebug)" and nothing more happens. Netbeans is configured for Debugger Port 9000. No Zend Optimization in MAMP. I have followed this: http://netbeans.org/kb/docs/php/configure-php-environment-mac-os.html#installEnableXdebug and http://www.xdebug.org/docs/install and http://forums.netbeans.org/topic1513-0

Netbeans xdebug nightmare

柔情痞子 提交于 2019-12-06 05:47:58
问题 I know what you're thinking, ANOTHER netbeans xdebug post? Well, I've tried everything I've seen in other posts, and nothing seems to work. Here's my setup: OS: Ubuntu 9.10 PHP: 5.2.1 Netbeans: 6.8 The following is in my /etc/php5/apache2/php.ini zend_extension=/usr/lib/php5/20060613/xdebug.so xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.idekey="netbeans-xdebug" I've tried switching ports (I've tried 9001, 9002, and 9034 so far)

How do you debug a PHP test file in Netbeans?

爷,独闯天下 提交于 2019-12-06 05:16:01
The menu option is disabled for me. I can test ok and I can debug ok, just not both together. Is it possible, or is the menu option disabled because it isn't implemented for PHP. I'm hoping I don't need to go through the "Create Test files" procedure to enable it as I create the test files myself, rather than letting netbeans do it. You should be able to debug the *Test.php files individually as you would the normal project. There's also a setting (at least in NetBeans 7.0) on the project's PHPUnit properties page that tells NB to run all files ending in Test.php as PHPUnit tests. 来源: https:/

PhpStorm Xdebug : Waiting for incoming connection with ide key

只谈情不闲聊 提交于 2019-12-06 04:50:28
I am running PHP 7.0 and PhpStorm 2016.1 I have x-debug installed and this is my configuration : When running Debug form PhpStorm the Debugger tab shows this error message: Waiting for incoming connection with ide key '13136' ide key varies every time. Please help. Your question is incomplete as it lacks your current php settings for xdebug, but it looks like you do not have idekey configured (you see IDE Key to be reported as " No value " for that reason). Just add: xdebug.idekey = .... to your config. Here's working config from my setup: xdebug.remote_handler="dbgp" xdebug.remote_port=9000