DEV Community

loading...

Discussion on: 💻 Understanding how to debug a Dockerized Typescript application with VSCode 💻

Collapse
samthomson profile image
Sam Thomson

In case it helps anyone else, there are two methods to run a launch task. The request property can be 'launch' (as in this article) or 'attach'.
I found the attach method to be more straight forward. Also practical as it attaches to an existing process, and so fits in with existing workflows if you were not starting a project from scratch and don't want to change your flow.
This article details the attach method (which requires far less setup/work in my view): medium.com/@mitsuhideohi/debugging...