Hello,
there is lot of discussions and articles about xdebug but I cannot make it working. Everything I do by those writings does not work.
I am using wamp server php 5.3.8 on windows and sublime text 2.
Tries setting sublime project this way:
{
"folders":
[
{
"path": "/D/projektai/glab"
}
],
"settings": {
"xdebug": { "url": "darius.lt" }
}
}
and installed xdebug plugin for sublime. Nothing happens. I made breakpoints in the code with F8.
Also tried chrome extention xdebug helper. Does not show anythign. I dont even understand how this extention will know where in sublime I made breakpoints.
Also tried downloading XDC: XDebugClient. ALso does not work - when I start - it shows message "Unable to create listening sockeet: Only one usage of each socket address (protoclo/network adress/port) is normally permitted. I turned off xdebug chorme extention so what else is listening I dont get.
Btw I also downloaded .dll file and put in the directory as in php.ini settings:
zend_extension = "c:/wamp/bin/php/php5.3.8/zend_ext/php_xdebug-2.2.3-5.3-vc9-x86_64.dll"
[xdebug]
;xdebug.remote_enable = off
;xdebug.profiler_enable = off
;xdebug.profiler_enable_trigger = off
;xdebug.profiler_output_name = cachegrind.out.%t.%p
;xdebug.profiler_output_dir = "c:/wamp/tmp"
;vietoj auskciau esanciu i pastinau sita:
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host = darius.lt
xdebug.remote_port = 9000
xdebug.remote_log = /tmp/xdebug.log
I dont see any log in my wamp tmp folder. Is there a simple xdebug program that works or at least shows explainations what is wrong?
Tried changing port to 9001 in php.ini and XDC XDebugClient and now at least it connects but get status message:
[09:05:13] (-) Waiting for xdebug to connect