<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Frank</title>
    <description>The latest articles on DEV Community by Frank (@frankpulido).</description>
    <link>https://dev.to/frankpulido</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2001883%2F9831d66f-a014-40cd-a3d9-4ba6fd971c21.jpeg</url>
      <title>DEV Community: Frank</title>
      <link>https://dev.to/frankpulido</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/frankpulido"/>
    <language>en</language>
    <item>
      <title>Issues installing XDebug to work with VS Code - php</title>
      <dc:creator>Frank</dc:creator>
      <pubDate>Sun, 01 Sep 2024 12:33:40 +0000</pubDate>
      <link>https://dev.to/frankpulido/issues-installing-xdebug-to-work-with-vs-code-php-1o0b</link>
      <guid>https://dev.to/frankpulido/issues-installing-xdebug-to-work-with-vs-code-php-1o0b</guid>
      <description>&lt;p&gt;Hello everyone, this is my first post and I am a neophyte, so I apologise in advance for bringing such a silly thing.&lt;br&gt;
I have been following this tutorial :&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=HrQWtbxY1Hs" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=HrQWtbxY1Hs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I paste the output of &lt;a href="http://localhost/dashboard/phpinfo.php" rel="noopener noreferrer"&gt;http://localhost/dashboard/phpinfo.php&lt;/a&gt;&lt;br&gt;
into the XDebug Wizard :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://xdebug.org/wizard" rel="noopener noreferrer"&gt;https://xdebug.org/wizard&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So far, so good... I got the following instructions :&lt;/p&gt;




&lt;p&gt;Instructions&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Download xdebug-3.3.2.tgz&lt;/li&gt;
&lt;li&gt;Install the pre-requisites for compiling PHP extensions.
On your Mac, we only support installations with 'homebrew', and brew install php &amp;amp;&amp;amp; brew install autoconf should pull in the right packages.&lt;/li&gt;
&lt;li&gt;Unpack the downloaded file with tar -xvzf xdebug-3.3.2.tgz&lt;/li&gt;
&lt;li&gt;Run: cd xdebug-3.3.2&lt;/li&gt;
&lt;li&gt;Run: phpize (See the FAQ if you don't have phpize).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;As part of its output it should show:&lt;/p&gt;

&lt;p&gt;Configuring for:&lt;br&gt;
...&lt;br&gt;
Zend Module Api No:      20220829&lt;br&gt;
Zend Extension Api No:   420220829&lt;br&gt;
If it does not, you are using the wrong phpize. Please follow this FAQ entry and skip the next step.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Run: ./configure&lt;/li&gt;
&lt;li&gt;Run: make&lt;/li&gt;
&lt;li&gt;Run: mkdir -p /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829&lt;/li&gt;
&lt;li&gt;Run: cp modules/xdebug.so /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829/&lt;/li&gt;
&lt;li&gt;Update /Applications/XAMPP/xamppfiles/etc/php.ini and add the line:
zend_extension = xdebug&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  11. Restart the Apache Webserver
&lt;/h2&gt;

&lt;p&gt;The case is that neither the Tutorial or the Wizard tells where to unpack the downloaded file "xdebug-3.3.2.tgz"... I left the packed file in the Downloads folder (MacOS)&lt;/p&gt;

&lt;p&gt;**I went as far as step 7 (run "make")&lt;/p&gt;

&lt;p&gt;I paused there since I seen ALL libraries have been created in the Download folder...&lt;br&gt;
I wonder what to do next... I guess that step 8 and 9 will move ALL the stuff to the right place, is that right?**&lt;/p&gt;

&lt;p&gt;My Zend Module API No is different from the one in the step 8 and 9 instructions of the Wizard, so I have to use mine, alright... Do I have to correct something else in the paths???&lt;/p&gt;

&lt;p&gt;Thanks a lot for your help, I am sort of overwhelmed with this (supposedly easy) installation...&lt;/p&gt;

&lt;p&gt;:)&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
