Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Debugging Mobile Web Apps
Search
James Thomas
May 08, 2012
300
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Debugging Mobile Web Apps
Introduction to Weinre presented at London AJAX Mobile Conference - July 2011
James Thomas
May 08, 2012
More Decks by James Thomas
See All by James Thomas
Apache OpenWhisk - Pluggable Event Providers
jthomas
0
470
Confessions of a (nervous) public speaker
jthomas
0
150
Serverless Machine Learning with TensorFlow.js
jthomas
1
820
Serverless: The Missing Manual
jthomas
1
2.4k
Serverless Swift with Apache OpenWhisk
jthomas
0
340
Serverless Backends and APIs using Swift and Apache OpenWhisk
jthomas
0
120
Predicting the impact of serverless computing, lessons from economic history
jthomas
0
160
Taming Serverless Dragons - Multi-Provider Serverless Apps
jthomas
0
3.2k
Microservices Without Servers
jthomas
2
2.9k
Featured
See All Featured
Designing for humans not robots
tammielis
254
26k
Optimising Largest Contentful Paint
csswizardry
37
3.9k
Designing for Performance
lara
611
70k
Mind Mapping
helmedeiros
PRO
1
340
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The Invisible Side of Design
smashingmag
301
52k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
450
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Making Projects Easy
brettharned
120
6.7k
Transcript
Debugging Mobile Web Apps Remotely James Thomas Tuesday, 8 May
2012
Why do people like developing applications for the web? Tuesday,
8 May 2012
Debugging Tools Tuesday, 8 May 2012
Firefox Tuesday, 8 May 2012
Chrome Tuesday, 8 May 2012
Mobile Platforms ? Tuesday, 8 May 2012
Mobile Platforms Tuesday, 8 May 2012
Web Inspector Remote Tuesday, 8 May 2012
> GOTO DEMO Tuesday, 8 May 2012
How does it work? Tuesday, 8 May 2012
Debug Target Weinre Server Client Tuesday, 8 May 2012
Insert custom JS into target Debug Target Weinre Server Client
<script src="http://server:8080/target/target-script-min.js"/> Tuesday, 8 May 2012
Connect to client Debug Target Weinre Server Client Tuesday, 8
May 2012
Client generates debug events Debug Target Weinre Server Client {"args":["alert(\"hello\")","console",true,"442489609::27"...
Tuesday, 8 May 2012
Target evaluates and sends response Debug Target Weinre Server Client
{"interface":"WeinreTargetCommands","method":"sendCli entCallback"..... Tuesday, 8 May 2012
WebKit Inspector updated with response Debug Target Weinre Server Client
Tuesday, 8 May 2012
Running a server locally? Ugh :( Tuesday, 8 May 2012
debug.phonegap.com Tuesday, 8 May 2012
What are the other alternatives? Tuesday, 8 May 2012
JS Console Tuesday, 8 May 2012
WebKit Remote Debug Text Text Chromium --remote-debugging-port=9222 Tuesday, 8 May
2012
Summary Tuesday, 8 May 2012
Summary • Weinre is a great solution for mobile environments...
Tuesday, 8 May 2012
Summary • Weinre is a great solution for mobile environments...
• ...but hopefully a temporary one! Tuesday, 8 May 2012
Summary • Weinre is a great solution for mobile environments...
• ...but hopefully a temporary one! • Not finished, follow the progress on Github Tuesday, 8 May 2012
Thank you & Questions? Tuesday, 8 May 2012