V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
linlinqi
V2EX  ›  编程

chrome支持远程debug了

  •  
  •   linlinqi · 2012-04-11 09:00:00 +08:00 · 4500 次点击
    这是一个创建于 4391 天前的主题,其中的信息可能已经有所发展或是发生改变。
    https://developers.google.com/chrome-developer-tools/docs/remote-debugging

    在windows下以这种方式启动:

    chrome.exe --remote-debugging-port=9222

    mac下得这么来:

    open -a Google\ Chrome --args --remote-debugging-port=9222

    然后就可以通过9222端口访问开发工具界面了

    http://localhost:9222
    2 条回复    1970-01-01 08:00:00 +08:00
    ellic
        1
    ellic  
       2012-04-11 10:48:50 +08:00
    不错,以后可能有用着的地方。
    freewizard
        2
    freewizard  
       2012-04-11 10:53:06 +08:00
    这个其实是Webkit一年前的功能 http://www.webkit.org/blog/1620/webkit-remote-debugging/
    Chrome for Android和Mobile Safari早就都有了,不过后者只有i386下能开启。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5362 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 06:45 · PVG 14:45 · LAX 23:45 · JFK 02:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.