1/26/2024 0 Comments Phpstorm debug drupal projectIf you can make a connection to this point, before proxying the port, then things aren't going to work because something else is there on port 9000. telnet localhost 9000 on the remote machine (install it if you don't already have it by installing the telnet package). You can do this by making a connection using the venerable telnet tool. Check to see that port 9000 is not already in use (especially by php-fpm if you use that).If you see it, you can scroll down to the xdebug section and check that the config is as you set it, especially remote_enable and remote_host (which should be localhost). You should see "with Xdebug v2.2.3, Copyright" … in there. On drupal you can just visit /admin/reports/status/php to get the full output. Visit the phpinfo of the remote machine with a web browser.(If you're using php-fpm, restart it instead). Restart Apache or whatever webserver you're using.But we're not going to go there right now.) (If you cannot use port 9000 because it's already in play, you'll have to also configure xdebug.remote_port here and on your local IDE. The default host to connect to is localhost, and that's the way we're going to leave it, since we're going to tunnel/proxy the connection to our local machine. Debian/Ubuntu: /etc/php5/conf.d/xdebug.ini or /etc/php5/conf.d/20-xdebug.ini, RedHat/Fedora/Centos: /etc/php.d/xdebug.ini.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |