This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.3 RC2 (Build 201302050851) Operating System = Linux version 3.8.0-7-generic running on amd64 Java; VM; Vendor = 1.6.0_27 Runtime = OpenJDK 64-Bit Server VM 20.0-b12 the test case following. with the helloworld code. <?php echo "hello world"; ?> 1. run file - (correct action) got the message "hello world" in run view windows 2. debug file - (with error xdebug can't connect) got the "hello world" in debug view window 3. clear the run view window CTRL+L 4. run file (wrong action) no message displayed.
Created attachment 131661 [details] IDE 日志
I have also problems with xdebug. PHP Project files: I am able to debug my project files if i set "Project Properties>Run Configuration>Run As" to "Local Web Site (running on local web server)", there is no problem with debugging, everything works fine. But if i set "Project Properties>Run Configuration>Run As" to "Script (run in command line)" i have also the problem as _reporter_. There is still message Waiting for connection (netbeans-xdebug). PHPUnit files: I am not able to debug PHPUnit files, because there is also still message Waiting for connection (netbeans-xdebug)... In this case is no difference between "Project Properties>Run Configuration>Run As: Local Web Site (running on local web server)" and "Project Properties>Run Configuration>Run As: Script (run in command line)". But I think that this is not an NetBeans issue, because Lada also try debugging and it works for him as expected.
Do you have properly set (enabled) xdebug extension for PHP CLI? In Ubuntu it's in /etc/php5/cli/... You probably have configured just /etc/php5/apache2/... There are separete config ini files for both run methods of php scripts.
hehe :) thank you Ondro... We've tried everything possible, but this simple solution did not occur to me and Laďa :) now it works for me also without any problems
You're welcome :)