netbeans鐨刣ebug鍔熻兘

python鐨刾ycharm鏈夊緢鏂逛究鐨刣ebug锛屾垜鍦ㄦ濊冨钩鏃跺啓php鐢ㄧ殑netbeans鑳戒笉鑳斤紝浜庢槸鎴戣瘯鐫鐐逛簡涓涓嬫柇鐐,鍦ㄥ啋娉℃帓搴忕殑涓棿锛屽彂鐜颁笉琛岋紝鏄剧ずnetbeans鏄剧ず鈥滅瓑寰呰繛鎺ワ紙netbeans-xdebug锛

function BubbleSort(array $container)
{
    $count = count($container);
    for ($j = 1; $j < $count; $j++) {
        for ($i = 0; $i < $count - $j; $i++) {
            if ($container[$i] > $container[$i + 1]) {
                $temp = $container[$i];
                $container[$i] = $container[$i + 1];
                $container[$i + 1] = $temp;
            }
        }
    }
    return $container;
}
BubbleSort([4, 21, 41, 2, 53, 1, 213, 31, 21, 423]);

浜庢槸鎴戝湪php.ini閲岄潰鎼滅储xdebug,鍔犲叆

[XDebug]
xdebug.profiler_output_dir="E:\phpStudy\tmp\xdebug"
xdebug.trace_output_dir="E:\phpStudy\tmp\xdebug"
zend_extension="E:\phpStudy\php\php-5.4.45\ext\php_xdebug.dll"
xdebug.remote_port=9001
xdebug.idekey=netbeans-xdebug
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_enable=1
xdebug.remote_handler="dbgp"
extension="./ext/php_igbinary.dll"
extension="./ext/php_redis.dll"

鐒跺悗鍦neabeans閲岄潰鐨宸ュ叿->閫夐」PHP

鍐嶆debug锛屽簲璇ュ彲浠ヤ簡

All posts

Other pages


Deprecated: 鏂囦欢 娌℃湁 comments.php 鐨勪富棰 鑷増鏈 3.0.0 璧峰凡寮冪敤锛屼笖娌℃湁鍙敤鐨勬浛浠c 璇峰湪鎮ㄧ殑涓婚涓寘鍚竴涓 comments.php 妯℃澘銆 in /www/wwwroot/liguoqi.site/wp-includes/functions.php on line 6078

鍙戣〃鍥炲

鎮ㄧ殑鐢靛瓙閭鍦板潃涓嶄細琚叕寮銆 蹇呭~椤瑰凡鐢 * 鏍囨敞