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.

  • Binding an IP address to a container port on docker for windows
  • Path is not writable within container
  • Do not download all Maven dependencies on a Docker build
  • Docker-compose links vs external_links
  • Is there a cache in ansible git module?
  • Docker image with specific node version
  • 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 recreate containers with Docker Compose on a Swarm Cluster of multiple nodes?
  • Docker Distributed Application Bundle(DAB) no network creation options
  • Follow Symbolic link when creating dockerfile [duplicate]
  • Connecting from a docker container to the host?
  • docker set iptables options in docker-compose.yml
  • How to Create a Container in docker remote api? (go-dockerclient)
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.