{"id":263,"date":"2026-01-29T16:14:11","date_gmt":"2026-01-29T16:14:11","guid":{"rendered":"https:\/\/www.posadoble.eu\/en\/?page_id=263"},"modified":"2026-01-31T17:19:44","modified_gmt":"2026-01-31T17:19:44","slug":"installation-instructions-xdebug","status":"publish","type":"page","link":"https:\/\/www.posadoble.eu\/en\/installation-instructions-xdebug\/","title":{"rendered":"Installation instructions XDebug &#8211; The Easy Way"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Installation instructions XDebug &#8211; The Easy Way<\/h1>\n\n\n\n<p>I don&#8217;t know about you, but I always struggle to install Xdebug, whether it being Windows or Linux.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/xdebug.org\/wizard\" target=\"_blank\" rel=\"noreferrer noopener\">XDebug installation wizard is here<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ubuntu Linux<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install php-xdebug<\/code><\/pre>\n\n\n\n<p>Edit php.ini (probably in \/etc\/php\/[<strong>8.3<\/strong>]\/apache2)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/php\/<strong>8.3<\/strong>\/apache2\/php.ini<\/code><\/pre>\n\n\n\n<p>Add some lines at the bottom:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;XDebug]<br>xdebug.mode=debug<br>xdebug.start_with_request=yes<\/code><\/pre>\n\n\n\n<p>Reboot webserver<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo service apache2 restart<\/code><\/pre>\n\n\n\n<p>Check for the existence of XDebug in the phpinfo().<br>When you run the installer (<a href=\"http:\/\/localhost\/install\/phpinfo.php\">http:\/\/localhost\/install\/phpinfo.php<\/a>) there is a phpinfo script for your convenience.<\/p>\n\n\n\n<p>In phpinfo: check if step debugger is enabled:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Step Debugger: \u2714 enabled<\/code><\/pre>\n\n\n\n<p><strong>Don&#8217;t forget to install the PHP Debug plugin in VSCode \/ VSCodium<\/strong>!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Windows<\/h2>\n\n\n\n<p>Watch this video<\/p>\n\n\n\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=HrQWtbxY1Hs\">https:\/\/www.youtube.com\/watch?v=HrQWtbxY1Hs<\/a><\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installation instructions XDebug &#8211; The Easy Way I don&#8217;t know about you, but I always struggle to install Xdebug, whether it being Windows or Linux. The XDebug installation wizard is here Ubuntu Linux Edit php.ini (probably in \/etc\/php\/[8.3]\/apache2) Add some lines at the bottom: Reboot webserver Check for the existence of XDebug in the phpinfo().When [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-263","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/pages\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/comments?post=263"}],"version-history":[{"count":25,"href":"https:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/pages\/263\/revisions"}],"predecessor-version":[{"id":317,"href":"https:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/pages\/263\/revisions\/317"}],"wp:attachment":[{"href":"https:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/media?parent=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}