The Node remote debugger no longer works with Docker Compose. A new container is created without closing the existing containers and no ports are assigned even though there are ports defined in the docker-compose.yml file. Since no ports are bound, the container can't be reached even though the logs show that the app is running. This same configuration was working a few weeks ago.
I would expect that, when clicking the debug button, the old running container would be stopped and a new container be loaded.
A Docker server is set up using Docker for Windows. Configuration files being used are a docker-compose.yml and docker-compose.override.yml file in the root of the project. The service is detected and selected correctly. The image used is a slightly modified node:14.15.1-alpine.
How do I get the remote debugger set up using Docker Compose?