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...
We're a place where coders share, stay up-to-date and grow their careers.
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...