- Copy task.json, launch.json to your
.vscode
folder or copy the content into the file you already have. - Adapt your
Dockerfile
to be able to build indebug mode
as in this one. - Run the task
Install VSDbg
using command palette. (CTRL+SHIFT+P or ⌘+⇧+P
)
The default build task is StartDocker-Debug-Local
which will start all the services in Docker with the exception of Service3. You will need to launch .NET Core Launch (Service3)
.
You can also start everything in Docer and debug it there using the tasks StartDocker-Debug
and the launching Attach to Service3 in Docker
.
StopDocker
will start all the services in docker.Restart Docker Services
will restart the composer services.build
will just build Service3.Docker Service Logs
will open a terminal showing the logs (using-f
) of a given service defined in the inputservice
at the botton of tasks.json