![]() ![]() Please refer to the dedicated sections in the documentation about information on how to enable and configure these Xdebug features. Now Xdebug is installed, you can enable its features. Please also update php.ini files in adjacent directories, as your system seems to be configured with a separate php.ini file for the web server and command line. Update /etc/php/7.4/cli/conf.d/20-xdebug.ini to have the line: Run: phpize (See the FAQ if you don't have phpize). Unpack the downloaded file with tar -xvzf xdebug-3.1.6.tgz On your Ubuntu system, install them with: apt-get install php-dev autoconf automake Install the pre-requisites for compiling PHP extensions. You're already running the latest Xdebug version I did it again just now, and here are the results:Ĭonfiguration File Path: /etc/php/7.4/cliĬonfiguration File: /etc/php/7.4/cli/php.iniĮxtra Configuration Files Path: /etc/php/7.4/cli/conf.dĮxtensions directory: /usr/lib/php/20190902 For further information, on my remote server, I did:Īnd pasted the contents into the Xdebug Wizard. Ssh -R 9003:localhost:9003 -i ~/.ssh/rsa_key -f -N check if remote port forwarding is working, in my remote server:īut then I go to start debugging in Netbeans, and I get the dreaded "Waiting for Connection." I'm not sure what else to do. On my laptop in terminal (which has Ubuntu Desktop), I port forward with the following: I then restart php and nginx (I have nginx, not Apache): For example, on the remote, headless server, in /etc/php/7.4/cli/conf.d/20-xdebug.ini (which is also symlinked to /etc/php/7.4/mods-available/xdebug.ini): I tried to follow these instructions (and these updated ones) but I'm still getting "Waiting for Connection" in Netbeans. ![]() Everything downloaded fine with an sftp connection. The remote server is a headless ubuntu server in an Oracle compute instance. I have Netbeans installed on a local Ubuntu Desktop and have set up Netbeans "Php Application from Remote Server".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |