wzyefd
V2EX  ›  PHP

求助:如何配置phpstorm进行debug

  •  
  •   wzyefd · Aug 19, 2013 · 5561 views
    This topic created in 4677 days ago, the information mentioned may be changed or developed.
    LAMP环境是用vmware虚拟机搭配的,通过samba吧/var/www/html 映射到本地盘符。
    已经安装xdebug。
    请问现在该如何配置phpstorm进行debug。
    我现在卡在Interpreter那里,需要制定php的版本。
    我的php home不知道该如何指定,
    2 replies    1970-01-01 08:00:00 +08:00
    SoloCompany
        1
    SoloCompany  
       Aug 20, 2013
    你应该需要远程 debug 吧,好好摸索一下,home 配置的只能用于本地调试,也就是说,以 script 方式执行的 php 脚本
    jybox
        2
    jybox  
       Aug 20, 2013
    php home应该是用来跑 php shell, 进行语法检查之类用的。

    调试是靠 xdebug 的调试功能,打开 xdebug 之后,添加一个 php web app, 填上url, 类型选 xdebug 就行了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3335 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 12:40 · PVG 20:40 · LAX 05:40 · JFK 08:40
    ♥ Do have faith in what you're doing.