And if phpstorm has some xdebug configuration - make sure port is the same. And make sure youre running your project on the same host. Remote Debugging in PhpStorm from Egor Malyshev on Vimeo. Try adding these parameters to your settings: xdebug.remotehost 127.0.0.1 xdebug.remoteport 9000 xdebug.remotehandler dbgp. This video provides a step-by-step guide on how to configure Remote Debugging in PhpStorm using Xdebug. This is the Xdebug stuff you need to put in your php.ini file in your Digital Ocean doplet: xdebug. It’s a very convenient way to examine and fix little annoying bugs that often come up very suddenly in a production environment. If it doesn’t try rebooting some stuff.PHPSTORM should start blinking now to ask you if you want to allow the incomming connection.Make sure the Xdebug helper plugin is installed in your browser, activate it and refresh the page.Open your browser and go to the website you would like to debug (which hosted on the remote server.).Because of the SSH tunnel we don’t need any extra configuration.After the SSH tunnel is setup (should be okay, if the previous command succesfully logged you in to the remote machine), click the “Start listening for PHP Debug connections” button.But you could use Putty too if you want.) Ssh -R 9000:127.0.0.1:9000 using the GIT Bash on Windows to get all these cool linux command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |