<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>xdebug &#8211; Fernando Marichal</title>
	<atom:link href="https://marichal.blog/tag/xdebug/feed/" rel="self" type="application/rss+xml" />
	<link>https://marichal.blog</link>
	<description>My Blog</description>
	<lastBuildDate>Sun, 31 May 2020 22:38:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://marichal.blog/wp-content/uploads/2020/03/favicon.png</url>
	<title>xdebug &#8211; Fernando Marichal</title>
	<link>https://marichal.blog</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">217996019</site>	<item>
		<title>Activate Xdebug in VVV</title>
		<link>https://marichal.blog/activate-xdebug-in-vvv/</link>
					<comments>https://marichal.blog/activate-xdebug-in-vvv/#respond</comments>
		
		<dc:creator><![CDATA[Fernando]]></dc:creator>
		<pubDate>Sun, 31 May 2020 22:34:43 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[activate]]></category>
		<category><![CDATA[vagrant]]></category>
		<category><![CDATA[vvv]]></category>
		<category><![CDATA[xdebug]]></category>
		<guid isPermaLink="false">https://marichal.blog/?p=128</guid>

					<description><![CDATA[How to activate Xdebug in VVV]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">How to activate Xdebug in VVV</h3>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>From <a href="https://github.com/woocommerce/woocommerce/wiki/Extra-VVV-Configurations">Activate Xdebug in VVV</a></p></blockquote>



<p>Running <code>xdebug_on</code> inside Vagrant:</p>



<ul class="wp-block-list"><li>Copy and paste output from <a href="http://vvv.test/phpinfo/">phpinfo()</a> to <a href="https://xdebug.org/wizard.php">Xdebug wizard</a>, analyze and check step about editing the php.ini file (step 9 in my case).</li><li>Check if <code>/usr/lib/php/*/xdebug.so</code> is present in the VM (it should be): </li></ul>



<pre class="wp-block-preformatted"><code>$ ls /usr/lib/php/20170718/xdebug.so</code></pre>



<ul class="wp-block-list"><li>Update <code>/etc/php/*/fpm/php.ini</code> inside the Vagrant VM according to instructions from the Xdebug wizard website.</li></ul>



<pre class="wp-block-preformatted"><code>$ sudo tee -a /etc/php/7.2/fpm/php.ini &gt;/dev/null &lt;&lt;'EOF'
 [xdebug]
 zend_extension = /usr/lib/php/20170718/xdebug.so
 EOF</code></pre>



<ul class="wp-block-list"><li>Restart php service</li></ul>



<pre class="wp-block-preformatted"><code>$ sudo service php7.2-fpm restart</code></pre>



<ul class="wp-block-list"><li>Check&nbsp;<a href="http://vvv.test/phpinfo/">phpinfo()</a>&#8211;it should contain a new section for Xdebug</li></ul>
]]></content:encoded>
					
					<wfw:commentRss>https://marichal.blog/activate-xdebug-in-vvv/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">128</post-id>	</item>
	</channel>
</rss>
