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 search finds image, but can't pull
  • Docker-machine : How to exec an ssh command correctly?
  • How to create and run docker container with new user other than root?
  • Docker with Django/PostgreSQL
  • Installing seaborn on Docker Alpine
  • Can't download Docker machine from github
  • 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)

  • Docker Swarm that uses just nodes? [duplicate]
  • Enter docker container from host using docker-machine
  • dependency error while installing docker 1.12 in rhel 7
  • docker build and publish pull from private repo fails
  • How to add dynamic file to docker container
  • Drone local and
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.