Show HN: I wrote a book – Debugging TypeScript Applications (in beta)

Posted by ozornin 7 days ago

Counter35Comment13OpenOriginal

Comments

Comment by maxloh 7 minutes ago

I think I saw this template before. What software did you use to create the book?

Comment by silicon_laser 3 hours ago

Text in the screenshots is barely readable. It should be comparable to default text size.

Comment by ozornin 1 hour ago

That's great feedback, thank you!

We'll go through screenshots, check their readability and crop or re-create them before going to print.

Can you point to particular screenshots that feel the worst?

Comment by enz 7 days ago

> What You Need: A computer with a Chromium-based browser such as Chrome, Vivaldi, or Brave [...]

I believe the book focuses on client-side TS apps?

Comment by progx 6 days ago

I build a "wrapper" for this (not public, quick&dirty code). Transfer everything that could be logged via websocket to console and output and colorize it like I do it with a node app. Reduces the time that I need to spend in browser for debugging (click, scroll, open trees, etc.), has same format and it saves much time.

I am sure somebody created a good lib for that on github.

Comment by ozornin 7 days ago

Mostly yes. It touches upon debugging unit tests and server-side code, as well as methodologies applicable to debugging in general, but the practical parts are almost exclusively client-side.

Comment by sebg 7 days ago

How did you enjoy the process?

Comment by ozornin 7 days ago

I did, thank you! It was hard and long, though. Much harder and longer than I expected it to be. The book ended up being very different from what I initially conceived (for the better, I hope.) I have too much to say to fit it all in one comment, to be honest :)

Comment by sebg 5 days ago

Great that you finished :)

Do you have a next book project lined up?

Comment by ozornin 1 hour ago

Thank you!

Not really. I am almost sure that eventually I'll do it, but what I have at this point is more like "dreams" or "ideas", very far from being materialized.

Also, I know that I want to write about something less practical and more fun. Maybe, making music. Writing about fun parts is so much easier

Comment by cranberryturkey 7 days ago

vibe coded?

Comment by ozornin 6 days ago

no

Comment by beanjuiceII 53 minutes ago

let me read it to verify