![]() ![]() LazyOne at 11:20 This link helped me get Xdebug working with my Xampp setup. I installed the "PHP Debug" extension in VS Code. 1 1) Check /help/phpstorm/ 2) If Xdebug is installed, provide Xdebug section of phpinfo () output + enable and collect Xdebug log for such unsuccessful debug session. I have the trial version of PHPStorm located on my Mac machine where I would like to debug my php code. Xdebug may already be installed and running. As long as you can SSH into the server and install Xdebug then you can try this out and speed up your debugging. I entered localhost:9000 in the address bar of Chrome and the results page shows that localhost rejected my connection request. PHPStorm, XDebug, XAMPP, Drupal Remote Follow Richard Petrov Created J08:56 Okay so I have XAMPP setup on my windows PC with Drupal installed using bitnami. You can use a shared host with SSH access, an AWS EC2 instance, or XAMP/WAMP/MAMP if you like. Next, I copied a piece of code into php.ini from an article on the Internet: zend_extension = "C:\xampp\php\ext\php_xdebug-2.7.2-7.3-vc15-x86_64.dll"īut I couldn't figure out why the port was 9000 and the port didn't work at all. ![]() Whatever, I still called the Xdebug file into the path without its name changed ( php_xdebug-2.7.2-7.3-vc15-x86_64.dll). My environment is: Windows 10, XAMPP, PHPStorm 2016.2.1 I am trying to debug a PHP application, which consists of one simple script. When I copied this file to C:\xampp\php\ext, I found there is a file named php_xdebug.dll. Here is a screenshot:Īnd I went to download this version of Xdebug: First, I turned on XAMPP and started the following services:īy the way, the PHP Version is 7.3.3. As instructed by the Xdebug installation wizard I added this line to my php.ini file: zendextension extphpxdebug-3.0. Then php -versionshows: PHP Warning: Failed loading Zend extension extphpxdebug-3.0. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |