<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                >[info] Xdebug 擴展安裝 ### **1. 通過PHPStudy直接安裝** ![](https://img.kancloud.cn/57/5c/575cda456c6c38e5449a3ffe9466d0f8_800x630.png) ### **2. 通過官方dll擴展安裝** #### **2.1 根據PHP版本下載 xdebug.dll** http://xdebug.org/download #### **2.2 把擴展文件放入php對應的ext目錄中** ![](https://img.kancloud.cn/ef/0c/ef0cf778cf74644af8866567183dd106_425x163.png) #### **2.3 在 php.ini 配置中配置 dll路徑地址** ``` [XDebug] zend_extension=D:/phpstudy_pro/Extensions/php/php7.3.4nts/ext/php_xdebug.dll xdebug.collect_params=1 xdebug.collect_return=1 xdebug.auto_trace=Off xdebug.trace_output_dir=D:/phpstudy_pro/Extensions/php_log/php7.3.4nts.xdebug.trace xdebug.profiler_enable=Off xdebug.profiler_output_dir=D:/phpstudy_pro/Extensions/php_log/php7.3.4nts.xdebug.profiler xdebug.remote_enable=1 xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug 3.x配置: [Xdebug] zend_extension=D:/phpstudy_pro/Extensions/php/php8.0.2nts/ext/php_xdebug.dll xdebug.mode=debug xdebug.collect_params=1 xdebug.collect_return=1 xdebug.auto_trace=Off xdebug.trace_output_dir=D:/phpstudy_pro/Extensions/php_log/php8.0.2nts.xdebug.trace xdebug.profiler_enable=Off xdebug.profiler_output_dir=D:/phpstudy_pro/Extensions/php_log/php8.0.2nts.xdebug.profiler xdebug.remote_enable=1 xdebug.remote_host=localhost xdebug.remote_port=9003 xdebug.remote_handler=dbgp xdebug.idekey=PHPSTORM ``` >[info] phpstorm 調試測試 #### **1. 運行 => 編輯配置** ![](https://img.kancloud.cn/a1/eb/a1ebd8ec651e65cd9b2686aad5bec835_1092x735.png) #### **2. php調試代碼** ~~~ <?php //phpinfo(); for ($i = 1; $i <= 10; $i++){ echo $i . PHP_EOL; } ~~~ #### **3. chrome 瀏覽器 添加 xdebug helper 插件** 1. 下載并安裝插件 下載地址:https://www.cnplugins.com/devtool/xdebug-helper/ 2. 配置插件 ![](https://img.kancloud.cn/fe/d1/fed1ca77bdd03904c4a0a694cbf3a3f0_716x797.png) #### **4. 調試** 1. 開啟監聽 ![](https://img.kancloud.cn/8e/33/8e33f0e09db1aa689dc6bb06157959f9_205x66.png) 2. 運行代碼 ![](https://img.kancloud.cn/66/4a/664a8992377c39a2da1f625cffc2da2f_258x82.png) 3. 開啟瀏覽器插件監聽 ![](https://img.kancloud.cn/8d/26/8d260474c8c8d31f349e11954f261e6b_238x77.png) 4. 點擊代碼進行斷點調試 ![](https://img.kancloud.cn/58/48/58483c43a81a8588d286104e9f2afc90_1498x862.png) >[info] phpstorm 調試功能介紹 **重新請求:** ![](https://img.kancloud.cn/76/47/764700370dd6a1e2d503fe7c1d59d02a_45x44.png) 此功能鍵,點擊后,當前調試所有變量全部銷毀,重新開啟一輪請求。即如同刷新頁面。 **執行到下一個斷點,暫停:** ![](https://img.kancloud.cn/9e/1c/9e1cfe2b2348fb7a237cac7c22714bfb_46x44.png) 此功能鍵點擊后,繼續 Laravel 生命進程的路程,直到下一個斷點,暫停 **停止調試:** ![](https://img.kancloud.cn/d0/dc/d0dcfe0f209083f1d437aca5c648c1b5_44x52.png) 此功能鍵,停止調試,結束 Laravel 周期。 **變量欄:** ![](https://img.kancloud.cn/2a/ab/2aabbdb621e3b2cbdbefc286a9075e84_124x43.png) 變量欄標簽,其下面的內容是當前調試位置,PHP 注冊到內存的全局變量和局部變量 **定位到當前調試的文件以及行:** ![](https://img.kancloud.cn/f6/79/f6798b72660ee07852e31b935ec1f0f2_49x38.png) 此功能鍵的作用是:當調試行文件關閉了,或者代碼視圖跑到其它位置了,點擊它,就能重新定位到調試文件以及調試行 **跳過當前調試行代碼要執行函數,直接返回結果:** ![](https://img.kancloud.cn/75/ca/75ca37a6bd96a8987420fdf6d35c1418_45x33.png) 此功能鍵的作用是當調試行代碼有調用函數,包含文件,new 新對象時,能夠不進入相應函數、文件、類中,直接返回其調用的結果,并在當前行中,執行至下文 **進入和強制進入調用的函數內:** ![](https://img.kancloud.cn/71/25/7125241a5f73e847d93afd2586351bad_77x37.png) 此功能鍵作用正好和上面的相反,即進入和強制進入當前調試行將要調用的函數、方法、包含的文件、new 的新對象類文件中,執行相應代碼 **跳出正在調用的函數:** ![](https://img.kancloud.cn/5b/77/5b77bcfe453e6d5edec9c3dcd9cf04da_54x43.png) 跳出正在執行的函數、方法、包含的文件、new 新對象的類文件,至調用行,并繼續執行調用行下面的代碼
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看