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.

Bug 259085 - php debugger waiting for connection
Summary: php debugger waiting for connection
Status: RESOLVED WONTFIX
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-01 22:31 UTC by asteinberger
Modified: 2016-08-28 22:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (42.86 KB, text/plain)
2016-05-01 22:31 UTC, asteinberger
Details
The project I'm working on (109.95 KB, patch)
2016-05-02 00:43 UTC, asteinberger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description asteinberger 2016-05-01 22:31:01 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Mac OS X version 10.11.3 running on x86_64
Java; VM; Vendor = 1.8.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.45-b02

Reproducibility: Happens every time

STEPS:
  * I have MAMP v3.5 installed on my Macintosh OSX.
  * I start the Apache and MySQL servers in PHP v7.0.0 mode using Apache Port 8888, Nginx Port 7888, MySQL Port 8889.
  * I have the /Applications/MAMP/bin/php/php7.0.0/conf/php.ini file modified with the following settings:

[xdebug]

xdebug.default_enable = 1
xdebug.max_nesting_level = 250
xdebug.auto_trace = 1
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
xdebug.remote_port = 9001
xdebug.remote_autostart = 1
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = "/Applications/MAMP/tmp/php"
xdebug.idekey = "netbeans-xdebug"
xdebug.remote_log = "/Applications/MAMP/logs/xdebug.log"
xdebug.trace_output_dir = "/Applications/MAMP/htdocs/xdebug"

zend_extension="/Applications/MAMP/bin/php/php7.0.0/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so"

  *  The NetBeans IDE is open in PHP mode pointing to /Applications/MAMP/bin/php/php5.6.10/bin/php
  *  Debugging is pointing to Port 9001, with session ID "netbeans-xdebug", max data length of 2048 and Stop at First Line Checked
  *  I have a php project open with an index.php file I'd like to debug.
  *  I hit Debug Project and I get:  "Waiting for Connection (netbeans-xdebug)


ACTUAL:
  Waiting for Connection (netbeans-xdebug)

  The xdebug log looks like this:
  Log opened at 2016-05-01 22:22:50
  I: Connecting to configured address/port: localhost:9001.
  E: Could not connect to client. :-(
  Log closed at 2016-05-01 22:22:50

  A ping of localhost:9001 and results in the following:
  PING localhost:9001 (198.105.244.228): 56 data bytes
  Request timeout for icmp_seq 0
  Request timeout for icmp_seq 1
  Request timeout for icmp_seq 2
  Request timeout for icmp_seq 3
  Request timeout for icmp_seq 4


EXPECTED:
  Debugger starts stepping into the code
Comment 1 asteinberger 2016-05-01 22:31:06 UTC
Created attachment 159493 [details]
IDE log
Comment 2 asteinberger 2016-05-01 22:32:39 UTC
Created attachment 159494 [details]
The project I'm working on
Comment 3 asteinberger 2016-05-02 00:43:01 UTC
Created attachment 159495 [details]
The project I'm working on

Redacted data files.