Hi, i'm new with CodelobsterIDE and having a lot of problem with xdebug.
I notice that xdebug seems working if i test it with that code:
$address = '127.0.0.1';
$port = 9000;
$sock = socket_create(AF_INET, SOCK_STREAM, 0);
socket_bind($sock, $address, $port) or die('Unable to bind');
socket_listen($sock);
$client = socket_accept($sock);
echo "connection established: $client";
socket_close($client);
socket_close($sock);
The result of "netstat -ntlp shows:
Attachment:
File comment: Netstat with apache2
netstat.png [ 69.83 KiB | Viewed 99111 times ]
Then When i use codelopster with debug.. I have a message telling that port is used
So i restart apache2 and retry.. Then i have the usual message about the path..But
The result of netstat -ntlp shows:
Attachment:
File comment: Netstat with codelobster
netstatlobster.png [ 69.25 KiB | Viewed 99111 times ]
It's looks like codelobster use tcp6
He is my xdebug section of my php.ini
[b] [XDebug]
zend-extension="/usr/lib/php/20170718/xdebug.so"
xdebug.remote_enable = On
xdebug.remote_handler = "dbgp"
xdebug.remote_autostart = 1
xdebug.idekey = "CLOBSTER"
xdebug.var_display_max_depth = 3
xdebug.var_display_max_children = 256
xdebug.var_display_max_data = 1024
xdebug.max_nesting_level = 256
xdebug.remote_log="xdebug.log"
xdebug.remote_port 9000
xdebug.remote_autostart = On
xdebug.remote_connect_back = On
xdebug.remote_host="127.0.0.1"
xdebug.default_enable = on[/b]
It might be over configure.. cause i test a lot of thing
My environment is
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=19.1
DISTRIB_CODENAME=tessa
DISTRIB_DESCRIPTION="Linux Mint 19.1 Tessa"
Base on ubuntu.
PHP 7.2.17-0ubuntu0.18.04.1
Apache/2.4.29 (Ubuntu)
My Codelobster.ini is attached.
It is normal that codelobster use tcp6 ? I will appreciate any help that you can gave me to get codelobster fonctionning with xdebug
Thank you !