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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.