亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    Vagrant+PHPStorm實(shí)現(xiàn)XDebug斷點(diǎn)調(diào)試

    下面由phpstorm教程欄目給大家介紹Vagrant+PHPStorm+Google+XDebug斷點(diǎn)調(diào)試 ,希望對需要的朋友有所幫助!

    1.登陸vagrant修改xdebug.ini配置

    A.  登陸vagrant:vagrant ssh  B.  修改配置:sudo vim /etc/php/7.0/fpm/conf.d/20-xdebug.ini       配置內(nèi)容:      zend_extension=xdebug.so      xdebug.remote_enable = 1      xdebug.remote_connect_back = 1      xdebug.remote_port = 9001      xdebug.max_nesting_level = 512      xdebug.remote_host="192.168.10.10"      xdebug.idekey = "PHPSTORM"      xdebug.default_enable = 1      xdebug.remote_enable = 1      xdebug.remote_autostart = 1      xdebug.remote_handler="dbgp"    C.重啟php: sudo service php7.0-fpm restart

    2.在PHPStorm->Preferences->Languages & Frameworks->PHP中箭頭指向配置
    Vagrant+PHPStorm實(shí)現(xiàn)XDebug斷點(diǎn)調(diào)試

    選擇+,選擇from vagrant
    Vagrant+PHPStorm實(shí)現(xiàn)XDebug斷點(diǎn)調(diào)試

    配置如下:

    Vagrant+PHPStorm實(shí)現(xiàn)XDebug斷點(diǎn)調(diào)試

    在PHP->Debug->DBGp Proxy設(shè)置如下

    Vagrant+PHPStorm實(shí)現(xiàn)XDebug斷點(diǎn)調(diào)試

    在PHP->Debug設(shè)置端口

    Vagrant+PHPStorm實(shí)現(xiàn)XDebug斷點(diǎn)調(diào)試

    在PHP->Servers中設(shè)置映射路徑

    Vagrant+PHPStorm實(shí)現(xiàn)XDebug斷點(diǎn)調(diào)試

    3.在google中下載Xdebug helper,并配置

    Vagrant+PHPStorm實(shí)現(xiàn)XDebug斷點(diǎn)調(diào)試

    備注:如果不能斷點(diǎn)代表Xdebug和php版本不對應(yīng),可以將其他php版本的20-xdebug.ini都設(shè)置

    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號