Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Debugging & Exploring Node.js.pdf
Search
A.J.
July 04, 2018
Programming
87
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Debugging & Exploring Node.js.pdf
A.J.
July 04, 2018
Other Decks in Programming
See All in Programming
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
Railsバージョンを4倍にした話
optim
0
390
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
700
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Done Done
chrislema
187
17k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
570
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Optimizing for Happiness
mojombo
378
71k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
870
Writing Fast Ruby
sferik
630
63k
How STYLIGHT went responsive
nonsquared
100
6.3k
The Cult of Friendly URLs
andyhume
79
7k
Transcript
Debugging & Exploring Node.js Beyond `console.log`
Agenda • What's wrong with `console.log`? • The (perhaps not
so) golden age of IDEs • The Inspector Protocol • Talk is cheap, let's code
So, what's wrong with `console.log`? spoiler: nothing
Sometimes there's a better way
None
ever heard about breakpoints and call stack?
None
HOLY JESUS WHERE DID IT COME FROM???
None
None
Oops, forgot to use `JSON.stringify`
We can do better
DISCLAIMER
THIS TALK IS ABOUT VISUAL AND INTERACTIVE DEBUGGING
THIS TALK IS ABOUT VISUAL AND INTERACTIVE DEBUGGING sorry gdb
The golden age of IDEs
Eclipse
None
Visual Studio (2005)
None
PyCharm
None
Side note Integrated Development Environment
Side note Integrated Development Environment
Side note Interactive Development Environment
Inventing on principle
https://hacks.mozilla.org/2012/04/bret-victors-inventing-on-principle-and-a- few-things-it-inspired/ Bret’s big principle is that “creators need an
immediate connection to what they create” and shows that right now in most cases this connection is broken. We write code, we compile, we load in a browser and we see the result. That is not immediate but a two steps removed way of creating.
Luna Lang
https://vimeo.com/250833157
The Inspector Protocol
The Inspector Protocol • Node.js has a TCP-based built-in debugger
that has been deprecated in favor of the Chromium Debugging Protocol, since version 7.7.0
The Inspector Protocol • Dead simple, just spawn node.js with
the `--inspect` flag and attach a debugger
None
Talk is cheap Let's code