![]() Xdebug. ![]() Xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p Xdebug.profiler_output_dir /var/tmp/ /var/tmp/ Xdebug.file_link_format no value no value In their video, however, it worked:Īs per the answer below, this is what phpinfo has for xdebug extension: xdebugĭBGp - Common DeBuGger Protocol $Revision: 1.145 $ I even tried using the xdebug google chrome extension and that doesn't work either. Drag "Start debugger", "Stop debugger", and "Debug this page" into the Bookmarks Bar in Google Chrome.Ĩ) I then reload the web page in browser and no break at all. Click ok and apply.ĥ) Toggle the “Start Listening for PHP Debug Connections” button in PHPStorm.ħ) Go to this url. Click the refresh box so that the debugger version pops up. Now I hit the start deebug bookmark, in the phpStrom press on start to listen to php debug and set any breakpoint in php scope, set the Xdebug extension on Debug mode, browse to localhost/m圜ode/index.php but no any debugging is occur in the phpStrom. Click the expand icon (a square box) on the same line as “Interpreter:”. Ive tried many things trying to let work Xdebug in a Docker container. XDebug xdebug.idekey 'PHPSTORM' xdebug.remoteport 80 I work with xampp port 80. With Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick RethansĤ) Go to PHPStorm > Preferences > Languages and Frameworks > PHP. Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies Zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so xdebug.profilerenable1 xdebug.profileroutputdir'C:\xampp\tmp' Now, open a file and start entering all the profiling logs. If you want to use the profiling option, then you must enable it in the php.ini file. # => Loaded Configuration File: /etc/php.ini Xdebug also provides profiling of code just like other profiling tools, Blackfire and Tideways. ![]() # => Configuration File (php.ini) Path: /etc # => /usr/lib/php/extensions/no-debug-non-zts-20100525/xdebug.soĢ) Insert the extension in the php.ini file: php –ini These are the steps I took insofar:ġ) Locate xdebug extension after installation: locate xdebug.so I spent all day on this and still cannot get the debugger to work in PHPStorm with Google Chrome.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |