xdebug

Is it possible to debug PhpUnit tests with --process-isolation option?

风流意气都作罢 提交于 2019-12-05 04:45:53
For unittest class SampleTest extends PHPUnit_Framework_TestCase { public function testBreakpoint() { $a = 18; } } with breakpoint on line 5 "$a = 18;", Xdebug v2.1.0, PHPUnit 3.6.10, PHP 5.3.6, ubuntu 10.11 Running unittest with NO --process-isolation option stops script execution on the line 5, as expected. Running the same configuration WITH --process-isolation option does not stop execution on line 5. The option --process-isolation runs every test in new process using 'proc_open' in runJob function in https://github.com/sebastianbergmann/phpunit/blob/3.6/PHPUnit/Util/PHP.php Tested with

PHP debug configuration hangs - Waiting for XDebug session (57%) [duplicate]

巧了我就是萌 提交于 2019-12-05 02:45:07
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: eclipse xdebug session never completes When I try to debug a php web page it hangs up. The message - waiting for XDEbug session. At the lower right corner there is another message - launching mydebugconf: (57%). I am running XAMPP for Windows 1.7.7 with PHP 5.3.8 and Apache 2.0 on an x86 Windows 7 computer. phpinfo() - xdebug xdebug.auto_trace Off Off xdebug.collect_assignments Off Off xdebug.collect_includes On

Seeking virtual machine with Xdebug working for PHP in Netbeans

社会主义新天地 提交于 2019-12-05 02:28:22
问题 I have followed many user guides, spent many a long hour, read these questions on S.O How to debug PHP with netbeans and Xdebug How to debug PHP with netbeans and Xdebug in Windows? How do you debug a PHP test file in Netbeans? Debug php with Netbeans - Newbie source request Debug next PHP page in Netbeans from Firefox How to debug a PHP application? how to run php file in netbeans and am currently waiting for my hair to grow back in order to tear it out again. Anyhoo, it seems that someone

XDebug does not break on breakpoints from atom's php-debug package

杀马特。学长 韩版系。学妹 提交于 2019-12-05 02:25:28
My problem is one I found many other answers too but none worked for me. The code and "server" are both localhost. Edit : tried using port 9001 instead as suggested in some answers + tried if Visual Studio Code worked, but the strange thing is: it breaks on exceptions in VS Code but still not on breakpoints. The connection seems to work: My setup Software Windows 10 Pro x64 MAMP (non pro) running port 81 atom php-debug package xdebug-2.4.1-7.0-vc14.dll extention the code to be debugged is written inside the Laravel framework Configs PHP info xdebug part ( full ) xdebug xdebug support enabled

Xdebug hiding dump information?

扶醉桌前 提交于 2019-12-05 02:00:38
I am using xdebug with my php methods such as var_dump() are beautiful but not showing full information instead the dump ends with three dots ... which might be the sign of continuation followed by (length=87749) How should I tell xdebug to show full dump ?? Thanks Xdebug truncates the output of (at least) strings and arrays, to avoid it getting to big. The amout of data that's printed can be configured using these directives : xdebug.var_display_max_children xdebug.var_display_max_data and xdebug.var_display_max_depth For more informations and example, see Variable Display Features You'll

Debugging in HHVM?

不打扰是莪最后的温柔 提交于 2019-12-05 01:07:36
When running my PHP scripts in HHVM I see that I can pass a debug-host and debug-port arguments, but I can't seem to work out exactly what it does and how to use it. Are those arguments for debugging HHVM itself (or maybe the compiled PHP itself) or is it for debugging the PHP script? That is to say, is it for debugging the way that HHVM works, or is it for debugging as I would normally do with XDebug, say? At first I tried to connect it to my IDE that is set up for XDebug, but that doesn't seem to do anything so without going on a wild goose chase I thought I would ask here. What are the

Installing and enabling Xdebug on MAMP PRO

安稳与你 提交于 2019-12-05 01:03:17
问题 I am trying to set up Xdebug on my MAMP PRO installation. I tried xdebug.org/wizard.php to get the correct Xdebug version with custom installation instructions but I got stuck. According to step 4 in the tailored installation instructions I should get the following output: Configuring for: ... Zend Module Api No: 20100525 Zend Extension Api No: 220100525 But my output reads as follows: Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626

idea tomcat 远程调试

六眼飞鱼酱① 提交于 2019-12-05 00:29:34
tomcat 配置 编辑文件${tomcat_home}/bin/catalina.sh,在文件开头添加如下代码。    CATALINA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7829" Idea端配置 参考文献: IntelliJ Idea 远程调试Java服务 来源: oschina 链接: https://my.oschina.net/u/998875/blog/1860418

Debug Symfony2 with XDebug and PHPStorm

泪湿孤枕 提交于 2019-12-04 23:52:06
问题 I try and try, but I can't get a proper debug configuration for Symfony2 with XDebug in PHPStorm. I've already checked and rechecked phpstorm xdebug with a symfony2 project and How to set up remote debugging for symfony2 with phpstorm and xdebug and followed the jetbrains tutorials, but no way to make this work. It's an rest api with Symfony2 what I am trying to debug. So far I have a Virtual Host with Apache2 which works fine in the URL host: sd.lo The routing prefix for the api is /api/v1

Can't use Xdebug to debug Code Igniter App using Netbeans 6.8 IDE

久未见 提交于 2019-12-04 21:29:17
问题 I can't use Xdebug to debug an application built with Code Igniter, but I can use it to debug any other PHP file as long it doesn't use the same Structure for url solving that Code Igniter uses. Meaning: In a simple PHP file with no Code Igniter, when I use NetBeans debugging the browser goes to: http://localhost:86/index.php?XDEBUG_SESSION_START=netbeans-xdebug Since no Code Igniter or other framework as been used, NetBeans can actually debug the PHP. But when using Code Igniter when hit the