favormm
V2EX  ›  PHP

万能的v2ex,phpstorm如何debug

  •  
  •   favormm · Jan 3, 2014 · 4178 views
    This topic created in 4526 days ago, the information mentioned may be changed or developed.
    最近自己在研究php,用的ide是phpstorm,
    环境差不多配置好了,可以debug的时候,却只能在一个文件里debug,比如我debug index.php这个文件,在index.php这个文件里的断点能断下来,可以在include其它文件中的断点却断不下来。

    大神们,教教小弟。
    5 replies    1970-01-01 08:00:00 +08:00
    Xrong
        1
    Xrong  
       Jan 3, 2014   ❤️ 1
    Xrong
        2
    Xrong  
       Jan 3, 2014
    @favormm 这个是我见到写过最为详细的一篇了,你好好研究下,应该可以搞定的...
    xiasix
        3
    xiasix  
       Jan 3, 2014
    我靠 我当时研究了一天也没搞定 包括 xdebug 后来装的 xhprof
    mx1700
        4
    mx1700  
       Jan 3, 2014
    是不是其他文件不在项目文件夹,而是在include_path定义的文件夹里?
    vibbow
        5
    vibbow  
       Jan 5, 2014
    还是Visual Studio比较智能,自动修改php.ini ......
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   918 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 20:47 · PVG 04:47 · LAX 13:47 · JFK 16:47
    ♥ Do have faith in what you're doing.