NetBeans 8.2、MAMP 4.1(Apache、PHP 7.1、Xdebug 2.5.0)、CodeIgniter 4.0-devという組み合わせでの、ステップ実行のやり方です。 Xdebugの設定 ApacheのPHPでXdebugとリモートデバッグを有効に設定します。 --- php.ini.org 2016-12-16 02:04:54.000000000 +0900 +++ php.ini 2017-02-10 16:24:00.000000000 +0900 @@ -1161,4 +1161,5 @@ opcache.enable_cli=1 [xdebug] -;zend_extension="/Applications/MAMP/bin/php/php7.1.0/lib/php/extensions/no-debug-non-zts-20151012/xdebug.
![NetBeans 8.2でのPHPのリモートデバッグ(ステップ実行) — A Day in Serenity (Reloaded) — PHP, CodeIgniter, FuelPHP, Linux or something](https://cdn-ak-scissors.b.st-hatena.com/image/square/f31354decc6a69c8eeea8d2fcde44ab4597a2ec7/height=288;version=1;width=512/http%3A%2F%2Fblog.a-way-out.net%2Fimg%2F2017%2F02%2F06-netbeans-step-through.png)