Discussion

Ask HN: Is debugging TypeScript worse then JavaScript?

The static type checking is quite helpful, but once the types are fine, debugging beyond that seems quite cumbersome. The backtraces I see are backtraces from the transpiled code which looks completely different and is all in one file. So line numbers do not really help.

I also have no idea if it is even possible to setup a debugger, so I'm bothering with console.log ....

4 points WolfOliver 3 years ago 8 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton