logoalt Hacker News

aksttoday at 6:11 AM2 repliesview on HN

I don't think JS debugging in Safari is that bad.

But I also use it as my main browser, so maybe there are some nicer features in other browser dev tools I haven't been exposed too.


Replies

etchalontoday at 6:22 AM

It's mostly that there's no way for third-party tooling to initiate a debugging session, I believe.

show 1 reply
baxuztoday at 6:53 AM

It's criminally bad. You can't copy logged variables. You can't inspect worker threads (!?). WASM support is practically non-existant. You can't even do a heap snapshot on demand, something that should be a basic feature.

The timelines view is practically obfuscated with pretty graphs that show some aggregated data and some automatically generated snapshot points where the dev tools decide that are meaningful.

Inspecting the rendering pipeline is impossible. You can't see memory usage, compositing reasons, long frames (you kinda can but it's tricky)...

Not even going into remote debugging for iOS which crashes either the dev tools or Safari on iOS in any non-trivial scenario — the exact ones you need a debugger for.