Author Topic: XDebug not connecting  (Read 3544 times)

mitcheljh

  • Community Member
  • Posts: 52
  • Hero Points: 2
XDebug not connecting
« on: December 03, 2010, 01:13:01 PM »
Hi,

I've been using SE for quite a while for PHP development, and recently tried to use it for debugging.
I've installed XDebugger, and it seems to be running fine, according to php_info();
My php.ini has the following...


;[PHP_XDEBUG]
zend_extension="c:\Program Files (x86)\PHP\ext\php_xdebug-2.1.0-5.3-vc9.dll"


; Xdebug debugger extension
[Xdebug]
; Xdebug plugin installed via Windows pre-built binaries: Use thread-safe zend_extension_ts="..."
; Xdebug plugin installed via PECL (typically UNIX): Use non-thread-safe zend_extension="..."
; Xdebug plugin built from source: Follow directions from xdebug.org site
;zend_extension_ts="c:/php5/ext/php_xdebug-2.0.3-5.2.5.dll"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.idekey=slickedit
xdebug.remote_host=127.0.0.1 
xdebug.remote_port=9000

When trying to debug, I just get a dialog box that says "Waiting for XDebug connection..."
The site does launch in a browser window, but just the start of it.

Thanks,

Mitch

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 384
  • Hero Points: 29
Re: XDebug not connecting
« Reply #1 on: December 03, 2010, 03:03:49 PM »
Please go to www.slickedit.com/supportcase and create a new ticket for this issue.  Also include your Help > About SlickEdit information, and a screenshot of the php_info() page for verification.  It appears that you are attempting to debug locally; if so, what PHP server did you set up (XAMP, etc). 

Thx,
Ashley

mitcheljh

  • Community Member
  • Posts: 52
  • Hero Points: 2
Re: XDebug not connecting
« Reply #2 on: December 03, 2010, 03:16:55 PM »
Thanks Ashley.

Yes, I am trying to debug on my local server.  I have virtual hosts setup on my machine, (Windows 7 64bit) and am running apache, and the php service was setup via the php installer from windows.

I'll email my php_info() info, as well as my php.ini in with the ticket.

Thanks again,

Mitch