We keep the other default parameters to keep the configuration as minimal as possible. File > Settings > Languages & Frameworks > PHP > Debug and. Add the following parameter in your PHP configuration as we did previously: xdebug.remoteenable1. Configure PHPStorm Open the application (base root folder) via PHPStorm. So how can I get Firefox up and running? I also use Firefox with Eclipse. First, we must enable the remote option of Xdebug. I already got so far that PHPStorm started Chrome. 1.index.phpĪnd I get asked for: Mozilla's profile.ini. Run / Edit configurations / Defaults / PHP Web Application: Run / Edit configurations / Defaults / PHP Remote Debugging:Ĭ:\dev\sf\Symfony => /mnt/hgfs/sf/Symfony (also tried /Symfony - b/c PHPStorm shouldn't care about anything above /Symfony !?) So I will just set up a new project and hopefully someone tells me what is wrong with my configuration. On the left side make sure the Debug' config is selected, then click the ellipsis in the 'Server:' section Look at the server already set up for us. For a complete explaination of the Xdebug features and configuration options available to you in Lando see the Using Xdebug section of Landos PHP plugin documentation. This tutorial shows you the basics to get set up with PhpStorm and Xdebug. I get weired error messages like "Waiting for connection from JetBrains PhpStorm." or PHPStorm asks me for Mozillas profile.ini, even though I configured Chrome as Default in Web Browsers. For PhpStorm and xdebug to correctly hit breakpoints and talk to each other, we need to tell PhpStorm how the files it knows about are mapped to the files that VVV knows about. PhpStorm open in new window is a popular code IDE for PHP and Drupal development. location on Debian: \mnt\hgfs\sf\Symfony\.location on my Win7 host: C:\dev\sf\Symfony\.The file that I want to debug is index.php: This is how the final config ended up looking (for Xdebug 3.0.1): zendextensionxdebug.so xdebug.modedevelop,debug xdebug.clientport9009 xdebug.clienthost127.0.0.1. So what I am failing at seems to be the basic configuration of PHPStorm. (This should open the debugging panel with 'Waiting for connection on port 9000 with ide key 'PhpStorm1' ' in the debugger variables section.) click the refresh button in the browser. Just to make sure we will be able to catch the interrupt from xdebug, we just need to check the Break at first line in PHP scripts. click on the xdebug icon in the bottom left of firefox to turn the easy xdebug on. I know that b/c I can debug using Eclipse. PHPStorm configuration First open Preferences > PHP > Debug. Important: XDebug is properly configured on Apache and my Win7 firewall as well. Files are directly accessible via a shared folder.Server is an Apache running on Debian in a VMPlayer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |