{"id":104,"date":"2015-07-29T02:18:00","date_gmt":"2015-07-29T02:18:00","guid":{"rendered":"http:\/\/waynenguyen.org\/dev\/2015\/07\/29\/configure-xdebug-and-xampp-with-netbeans\/"},"modified":"2016-05-21T03:15:55","modified_gmt":"2016-05-21T03:15:55","slug":"configure-xdebug-and-xampp-with-netbeans","status":"publish","type":"post","link":"https:\/\/bruceng.com\/dev\/?p=104","title":{"rendered":"Configure xdebug and XAMPP with netbeans"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\">\nopen php.ini and uncomment, modify, add these lines<\/p>\n<p>[XDebug]<br \/>\nzend_extension = &#8220;C:xamppphpextphp_xdebug.dll&#8221;<br \/>\n;xdebug.profiler_append = 0<br \/>\n;xdebug.profiler_enable = 1<br \/>\n;xdebug.profiler_enable_trigger = 0<br \/>\n;xdebug.profiler_output_dir = &#8220;C:xampptmp&#8221;<br \/>\n;xdebug.profiler_output_name = &#8220;cachegrind.out.%t-%s&#8221;<br \/>\nxdebug.remote_enable = 1<br \/>\nxdebug.remote_handler = &#8220;dbgp&#8221;<br \/>\nxdebug.remote_host = &#8220;127.0.0.1&#8221;<br \/>\nxdebug.remote_port=9000<br \/>\nxdebug.remote_mode=req<br \/>\nxdebug.idekey=&#8221;netbeans-xdebug&#8221;<br \/>\n;xdebug.trace_output_dir = &#8220;C:xampptmp&#8221;<\/p>\n<p>\nmake sure the line &#8220;zend_extension&#8230;&#8221; is uncommented andxdebug.remote_enable is set to 1.<\/p>\n<p>xdebug.idekey should be set to be the same as Netbeans&#8217; PHP debug setting, by default it&#8217;s &#8220;netbeans-xdebug&#8221;. Same for remote_port and remote_mode.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>open php.ini and uncomment, modify, add these lines [XDebug] zend_extension = &#8220;C:xamppphpextphp_xdebug.dll&#8221; ;xdebug.profiler_append = 0 ;xdebug.profiler_enable = 1 ;xdebug.profiler_enable_trigger = 0 ;xdebug.profiler_output_dir = &#8220;C:xampptmp&#8221; ;xdebug.profiler_output_name = &#8220;cachegrind.out.%t-%s&#8221; xdebug.remote_enable = 1 xdebug.remote_handler = &#8220;dbgp&#8221; xdebug.remote_host = &#8220;127.0.0.1&#8221; xdebug.remote_port=9000 xdebug.remote_mode=req xdebug.idekey=&#8221;netbeans-xdebug&#8221; ;xdebug.trace_output_dir = &#8220;C:xampptmp&#8221; make sure the line &#8220;zend_extension&#8230;&#8221; is uncommented andxdebug.remote_enable is set to 1. xdebug.idekey &hellip; <a href=\"https:\/\/bruceng.com\/dev\/?p=104\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Configure xdebug and XAMPP with netbeans&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-104","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=104"}],"version-history":[{"count":1,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":226,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/104\/revisions\/226"}],"wp:attachment":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}