Console.log() isn't the only Javascript debug tool. Visual Studio Code has great features to track bugs. Use VS Code's debugging feature for Javascript.
Visual Studio Code is a perfect editor for TypeScript, but it doesn't support project-wide type-checking out of the box. Luckily, you can add it to your own TypeScript project.