it will prompt to set it up (and will help you in this) - just choose correct file path and (depending on other factors) you should be ready to debug and because you have nothing configured yet at "PHP | Servers". What you need in such case: 1) navigate to the page you want to debug 2) activate "phone handle" 3) refresh the page. if you have not configured anything yet at "Preferences | PHP | Servers" (no entries there at all), then just leave as is.But do it only after you will actually make debugging to work. You can prevent PhpStorm from reacting to such requests (when file is outside of the project) - check "Preferences | PHP | Debug", it has few options there. This option means that you do not need to use any bookmarklet/browser extension/query param to init session - all what you need is to activate that "phone handle" icon. You have xdebug.remote_autostart=1 - so no surprises here - xdebug will attempt to debug EVERY single page, even if it is belongs to completely different website. It says "Remote file path 'C:\xampp\htdocs\xampp\index.php\ is not mapped to any file path in the project" I would like to add that when I try to access my XAMPP main web page at PHPStorm decides to break on the index.php for an unexplained reason. If so - xdebug seems to be configured correct (just by looking at the values) Xdebug.profiler_output_name = "cachegrind.out.%t-%s"Īs I understand 192.168.0.10 is IP of your Mac. Xdebug.profiler_output_dir = "C:\xampp\tmp" Zend_extension = "C:\xampp\php\ext\php_xdebug.dll" I will take a look at the links and provide screenshots of my configuration. I navigate to the page when the browser opens and it doesn't break. I hit the phone icon, and attempt to put a break point somewhere within a module I'm working on in Drupal. I added a PHP Web Application in Run/Debug Configuration with my server information and Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |