Slide 1

Slide 1 text

AtTheFrontend, May 2016 Kenneth Auchenberg Program Manager, Microsoft DevTools for the Progressive Web

Slide 2

Slide 2 text

I’m Kenneth

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

First, a bit of context

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

The web platform has changed

Slide 8

Slide 8 text

Document reader

Slide 9

Slide 9 text

Application runtime

Slide 10

Slide 10 text

Our devices have changed

Slide 11

Slide 11 text

Source: http://www.prepressure.com/

Slide 12

Slide 12 text

Source: http://www.apple.com/uk/shop/browse/reuse_and_recycle

Slide 13

Slide 13 text

Internet adoption has changed

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Mobile internet users

Slide 16

Slide 16 text

237 million new internet in 2015 Source: International Telecommunication Union, ICT Key Data 2015

Slide 17

Slide 17 text

19.75 million new internet users per month Source: International Telecommunication Union, ICT Key Data 2015

Slide 18

Slide 18 text

108 million new Indian internet users in 2015 Source: http://www.internetlivestats.com/internet-users-by-country/

Slide 19

Slide 19 text

New platforms rise

Slide 20

Slide 20 text

20 Source: http://qz.com/314285/30-smartphones-are-here-and-theyre-getting-better-every-day/ Top handsets in India

Slide 21

Slide 21 text

Desktop browsers have changed 2.10% 14.24% 56.89% 4.20% 1.83% (IE 12.13%) Source: https://www.sitepoint.com/browser-trends-may-2016-firefox-finally-overtakes-ie/ SitePoint May 2016

Slide 22

Slide 22 text

Microsoft Edge. Our new browser.

Slide 23

Slide 23 text

We are investing into the web in an open and collaborative way

Slide 24

Slide 24 text

Planning in the open

Slide 25

Slide 25 text

Open source

Slide 26

Slide 26 text

Mobile browsers have changed 34.17% 10.90% 8.30% 19.75% 2.09% Others 1.60% Source: https://www.sitepoint.com/browser-trends-may-2016-firefox-finally-overtakes-ie/ 17.48% SitePoint May 2016 5.71%

Slide 27

Slide 27 text

Engines have changed WebKit Blink EdgeHTML Gecko U3 Engine

Slide 28

Slide 28 text

In a few years you won’t know you are using a browser.

Slide 29

Slide 29 text

Mobile: Web embedded inside native Chrome Custom Tabs Safari View Controllers

Slide 30

Slide 30 text

Desktop: Web as a runtime Slack VS Code

Slide 31

Slide 31 text

Windows Universal Apps

Slide 32

Slide 32 text

Progressive Web Apps Browser chrome Home screen “App”

Slide 33

Slide 33 text

Web Assembly (not official logo)

Slide 34

Slide 34 text

Web Assembly C++ code Clang Emscripten (LLVM) WASM WebGL JS Engine

Slide 35

Slide 35 text

The front-end role is being redefined, as native and web melts together

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

So, how do DevTools fit into all of this?

Slide 39

Slide 39 text

Today’s DevTools are very similar

Slide 40

Slide 40 text

Our industry have a DevTools dogma

Slide 41

Slide 41 text

2007: IE Developer Toolbar

Slide 42

Slide 42 text

2016: Edge DevTools

Slide 43

Slide 43 text

2016: Chrome DevTools

Slide 44

Slide 44 text

Is this really the best we can do?

Slide 45

Slide 45 text

Enough performance tools

Slide 46

Slide 46 text

Modern DevTools are collections of tools

Slide 47

Slide 47 text

A fraction of our screens

Slide 48

Slide 48 text

Debugging context

Slide 49

Slide 49 text

Authoring context

Slide 50

Slide 50 text

Authoring tools !== Debugging tools Our workflow is broken

Slide 51

Slide 51 text

Still a typical debugging workflow Open editor Navigate to page Open browser Find file in editor Make change Refresh browser Open DevTool Look in console Go to scripts- tab Find same file again Go to the edited line Set breakpoint Debug Switch back to editor Make change Tab back to browser Repeat

Slide 52

Slide 52 text

Web Developer Stockholm Syndrome 52

Slide 53

Slide 53 text

1. Why do I need to learn a new DevTool for each browser? 2. Why do I have to use different tools for authoring and debugging? 3. Why isn't my editor more integrated with my browser(s)? 4. Why can't I decide which DevTools to use? 5. Why can't I leverage the browser logic in my new fancy tool? 6. Why can’t I just connect my editor to my mobile device? 7. Why are DevTools still bundled with our browsers? A few thoughts

Slide 54

Slide 54 text

Disconnect

Slide 55

Slide 55 text

Complimentary tools

Slide 56

Slide 56 text

Connecting the two worlds

Slide 57

Slide 57 text

What if it was like this? Open editor Find file in editor Make change Open browser Look in console Set breakpoint Debug Make change Tab back to browser Repeat

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

VS Code Chrome Debugging

Slide 60

Slide 60 text

Edge Diagnostics Adapter

Slide 61

Slide 61 text

Edge Diagnostics Adapter Chrome Debugging Protocol Edge Diagnostics Adaptor Tool Editor DevTool

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

We support an open ecosystem where browsers and tooling from different vendors work together

Slide 64

Slide 64 text

Why is the web one of the few platforms that still bundles a full development environment with the runtime?

Slide 65

Slide 65 text

Normal web users are confused

Slide 66

Slide 66 text

Normal web users are hacking themselves

Slide 67

Slide 67 text

Why are DevTools bundled with our browsers? Desktop browser New devices Chrome-less contexts Devtool

Slide 68

Slide 68 text

DevTools for the Progressive Web Editors DevTools Device clouds Game studios

Slide 69

Slide 69 text

No content

Slide 70

Slide 70 text

VS Code + iOS + Web + Cloud

Slide 71

Slide 71 text

No content

Slide 72

Slide 72 text

1. Why do I need to learn a new DevTool for each browser? 2. Why do I have to use different tools for authoring and debugging? 3. Why isn't my editor more integrated with my browser(s)? 4. Why can't I decide which DevTools to use? 5. Why can't I leverage the browser logic in my new fancy tool? 6. Why can’t I just connect my editor to my mobile device? 7. Why are DevTools still bundled with our browsers? A few thoughts again

Slide 73

Slide 73 text

@EdgeDevTools Stay in touch @auchenberg

Slide 74

Slide 74 text

Thanks