cauliturtle
V2EX  ›  PHP

發現了一個好用的php debug工具

  •  
  •   cauliturtle · Jun 7, 2013 · 5204 views
    This topic created in 4721 days ago, the information mentioned may be changed or developed.
    7 replies    1970-01-01 08:00:00 +08:00
    lovejoy
        1
    lovejoy  
       Jun 7, 2013
    突然发现我好落后,只用echo做调试
    PrideChung
        2
    PrideChung  
       Jun 7, 2013
    难得看见有讨论PHP的,我也跟风发一个debug tool

    Kint : 一个PHP的object inspector。直接在页面中以可展开列表的方式输出数组或者object的内容,完美替代难看的var_dump(),直接通过composer就可以安装。

    https://github.com/raveren/kint

    https://a248.e.akamai.net/camo.github.com/178d6772f1ca114c2c344e2d75f5fb29b801cdf6/687474703a2f2f7261766572656e2e6769746875622e636f6d2f6b696e742f696d672f707265766965772e706e67
    vibbow
        3
    vibbow  
       Jun 8, 2013
    netbeans + xdebug 表示基本没压力
    moxuanyuan
        4
    moxuanyuan  
       Jun 8, 2013
    @lovejoy 偶是echo + file_put_contents
    zhttty
        5
    zhttty  
       Jun 8, 2013
    直接用浏览器debug的...
    cauliturtle
        6
    cauliturtle  
    OP
       Jun 8, 2013
    @lovejoy 其實我還是喜歡用var_dump, echo來debug, 但近來玩larvel 4,也試試新興的工作
    @vibbow 早幾近。。。這個組合慢到不得了,所以一直沒有用
    pubby
        7
    pubby  
       Jun 8, 2013
    echo var_dump最方便

    疑难杂症,emacs开geben连上xdebug搞定
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3780 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 04:56 · PVG 12:56 · LAX 21:56 · JFK 00:56
    ♥ Do have faith in what you're doing.