Simple launch config

In most instances, you will need to specify a "Launch Configuration" for VS Code. These are commonly referred to as "Launch Configs". This is a file that specifies how VS Code should run your project.

The exercise in the folder "2-launch-configs" is a project written in TypeScript. It is also a console application. If you try and run it, it will run, but it won't appear to do anything. This is because by default, VS Code runs console applications on an "internal" terminal that you can't see. We need to configure VS Code to run this app correctly so we can use and debug it.

Open the "2-launch-configs" project. Add a launch config to this application that instructs VS Code to use the "integrated" terminal.

Add a breakpoint to the application. Run it with VS Code and hit the breakpoint.

Last updated