DEV Community

Discussion on: Supercharge Your Node Productivity With Debugging

robbiecahill profile image
Robbie Cahill Author

The main thing I've found with TypeScript is to make sure "sourceMap": true is in your tsconfig.json. Then breakpoints should work in the .ts files. Its always good to debug a really simple script first to make sure its working.

I'll have to do a TypeScript debugging article.

spock123 profile image
Lars Rye Jeppesen

thanks, yeah I also found that now by Googling.

Thanks a bunch, would definitely look forward to an article - I fell over this article just now and that triggered me into finally getting started using the debugger instead of good ol' console.log :)