Chapter 8. Debugging TypeScript

We have covered all the skills you will need to write large-scale applications using TypeScript. The compiler and language constructs provided by TypeScript allow us to quickly and safely develop reliable programs. As all experienced developers know though, code that compiles doesn't always perform as expected. In this chapter, we will discuss the different options available to debug TypeScript once it is deployed and running. We will also cover unit testing, which will allow us to test the functionality with code. In this chapter, we will investigate the following topics:

  • Debugging
  • Test-driven development

Debugging

When developing plain old JavaScript applications, our debugging options are usually dependent upon the ...

Get TypeScript Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.