5 ms·
WebKit Remote Debugging
- msy 15y agoAwesome! Weinre http://pmuellr.github.com/weinre/ http://pmuellr.github.com/weinre/ provides similar but more limited functionality and has saved me in so many mobile-specific WTFs I've lost track.
- boucher 15y agoWeinre also works where this currently does not (on mobile devices where you generally can't just run a custom version of the browser for testing purposes).
- milkshakes 15y agothis in mobilesafari would be a godsend
- jschuur 15y agoI got excited when I read their intro that talked about how mobile platforms lacked the real estate for proper debugging, until I realized there's no way this is going to help in current iOS mobile app development. I'd be surprised to see Apple adopt this. It would be interesting to see this supported in the iPhone simulator at the very least.
- richbradshaw 15y agoIt's not quite the same, but http://jsconsole.com/ http://jsconsole.com/ is useful for providing a console for mobile devices.
- webXL 15y agoThis is what the "Debug Console" setting should be in the Safari->Developer menu. iOS 5, maybe?
- scotth 15y agoAn interesting side benefit this opens up the possibility of debugging languages that compile down to JavaScript, such as Coffeescript or Objective-J. Just attach an editor or a terminal via a websocket, provide a mapping layer between the high-level (Coffee) and low-level (JS) source (line numbers, variables and such), and you're in business.
- daleharvey 15y agoThis is enabled in the blackberry playbook by default, which is a really really compelling reason for me to get one. I have wondered 1. why it isnt enabled in android webkit by default, 2. how hard it would be to enable given the source, 3. if any android devices are coming out with it enabled. but I havent had enough time to do anything more than wonder, weinre is doing an awesome job in the meantime
- tambourine_man 15y agoI'd be willing to pay good money if someone managed to hook this up with Vim. Making changes on Webkit and copy/pasting back is a pain. I understand it's not trivial, as a lot of html/css and even javascript may be conditionally echoed to the browser by some php, python, etc, so a quick dirty search/replace plugin hack won't do. But still, if someone took it for himself the job of doing so, we'd finally have a decent web developing workflow for a change.
- hartror 15y ago+1 but with Emacs. Given there are well established debugging tools in Emacs (and Vim too?) I cannot imagine this being terribly difficult, assuming the protocol is reasonable and consistent.
- jonursenbach 15y agoWill be interesting to see what security ramifications this has.
- est 15y agoSo they can have a minimal HTTP server builtin with Webkit, can I access that some Javascript API?
- apinstein 15y agoHas anyone built a WebKit for iOS? I routinely use the Mac Webkit for desktop debugging but a quick google search reveals no such beast for iOS. Does anyone have any idea if it is or can be done? Remote debugging on iOS would be outstanding.
- noibl 15y agoNice to see a member of the Chromium team posting on the WebKit blog. Time to change the name from "Surfin' Safari" to "Webloggin' WebKit"? :)