<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>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # Xdebug **官網** - 中文網站:http://xdebug.org.cn/ - 官方網站:http://xdebug.org/ ## 安裝 > [安裝xdebug](https://xdebug.org/docs/install) 自行查找適合自己的方式,可通過`源碼編譯`,`apt包管理`,`pecl`, `寶塔面板php設置`等多種方式安裝 <br/> ## 配置 ## fpm調試 編輯 [php.ini](php/php.ini) - xdebug 3.x.x: ``` [XDebug] xdebug.mode = debug xdebug.start\_with\_request = yes xdebug.client_port = 9000 ``` - xdebug 2.x.x: ``` [XDebug] xdebug.remote_enable = 1 xdebug.remote_autostart = 1 xdebug.remote_port = 9000 ``` **php-fpm 配置完成后需要重啟php才能生效** ## cli調試 對于非 web 應用,例如定時任務或單元測試,可以直接在控制臺進行調試。 php.ini ``` xdebug.idekey = "fuk" ``` 在使用php運行前,先定義環境變量; 一直開啟終端調試可以加入到`.bashrc`中 ```shell export XDEBUG_CONFIG="idekey=fuk" php think file clear // or php test.php ``` ## VScode 配置 **準備** - 安裝并配置完成`php-fpm` - 安裝`vscode`的`php-xdebug`插件 在調試頁面新建一個調試配置文件,選擇語言`php` ``` { "name": "Listen for Xdebug", "type": "php", "request": "launch", "port": 9001 // 對應xdebug配置端口 } ``` **使用** - 按`F5`運行`Listen for Xdebug`調試配置 - 在你的php業務中打上一個斷點,再去訪問你的業務即可觸發。
                  <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>

                              哎呀哎呀视频在线观看