How to set up WebStorm with Docker debug configurations?

This is linked to this issue.

I have trouble using Docker Deployment Plugin of WebStorm. This Q&A would be a good reference for someone wanting to quickly set up the relationship between Docker and WebStorm which I find cryptic in the manual.

  • Docker FTP Server Container Create Accessible Sub-directories
  • How can i keep crontab in file in ubuntu docker
  • How to activate docker 1.12 in terminal without Moby the whale app on Mac
  • Bad gateway error on target website configured using the “nginx-proxy” docker container
  • Why is there no logs using “docker run image command” to start container?
  • can't run docker container with simple node app example in bluemix
  • After clicking Add deployment config / Docker Deployment I am left with some settings to make.

    You can access it in Settings / Build, Execution, Deployment / Docker

    Using the default config, the certificates folder C:\Users\Admin\.docker\machine\machines\default is missing: in effect nothing is shown under the machines folder.

    Changing the path to C:\Users\Admin\.docker\machine\certs gives me “cannot connect/timed out/no further information”

    Where can I find my docker certificates? (Docker for Windows v 1.13.0)

  • How to get docker images from privacy AWS ECR repository in Vagrant
  • Relative path not working with named volumes in the docker-compose.yml
  • Install cURL compiled with OpenSSL and zlib in Dockerfile
  • “device or resource busy” error when trying to push image with docker
  • Docker forever in “Docker is starting..” at windows task
  • Using Docker Kitematic, how can I switch to different docker machine?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.