Better JavaScript tooling for a changed world

A presentation at JS Poland in November 2020 in Warsaw, Poland by Chris Heilmann

Slide 1

Slide 1

Better JavaScript tooling for a changed world

Slide 2

Slide 2

The JavaScript debugging journey has been rough… • • • • •

Slide 3

Slide 3

We’re in excellent shape • • • • •

Slide 4

Slide 4

Wait… what is all this???

Slide 5

Slide 5

Disappointing considering our state of tooling and documentation

Slide 6

Slide 6

Lots of reasons… • • • • • • •

Slide 7

Slide 7

Confusing for beginners…

Slide 8

Slide 8

The trinity of web development

Slide 9

Slide 9

An opportunity to get bogged down in customisation

Slide 10

Slide 10

An endless cycle of context switching

Slide 11

Slide 11

Learning And the forgotten part (documentation, examples, best practices)

Slide 12

Slide 12

Developer tools shouldn’t require expert knowledge. Using them should make you an expert over time.

Slide 13

Slide 13

Best practices and documentation should be part of the tool, not something you need to find elsewhere.

Slide 14

Slide 14

On to greener pastures…

Slide 15

Slide 15

Emulation https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/device-mode/

Slide 16

Slide 16

Browsers can be fully automated… playwright.dev

Slide 17

Slide 17

Browser Developer tools in VS Code! aka.ms/devtools-for-code

Slide 18

Slide 18

Console filtering

Slide 19

Slide 19

Issues by type, option to exclude 3rd party issues https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/issues/

Slide 20

Slide 20

In-context documentation with “learn more” links…

Slide 21

Slide 21

Visual guides and indicators in the source

Slide 22

Slide 22

What comes next?