Launching node docker container for debugging from VS Code

VS Code uses a locally installed version of node for debugging. My question is whether it is possible to use node in a docker container instead.

I’ve found several references on doing something like this with the remote debugging approach vscode offers. This seems to be pretty close to what I’m looking for. However, I don’t want to start the container externally.

  • Ctrl-p and Ctrl-n behaving unexpectedly under Docker
  • Git init with symlinks
  • Do you have to remove all stacks at once with docker?
  • PHP `getEnv` is able to read System Environment Variable
  • What does Illegal Instruction 4 mean with docker-compose on a Mac?
  • How to start docker-machine on OSX?
  • My example is the simple hello world from vscode docs. I really would love to simply press the launch button and start debugging in it without having a locally installed version of node.

  • How to create a Docker image of centos provisioned with apache?
  • Setting arguments in docker-compose file
  • adding a command docker image
  • ECS updating service with same tasks but different docker image
  • Docker: Development environments [closed]
  • how to physically remove untagged docker images
  • 2 Solutions collect form web for “Launching node docker container for debugging from VS Code”

    I’m not aware of any way to launch the container from the debugger in Visual Studio Code. However, for Visual Studio Community, there is the Docker Tools for Visual Studio plugin.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.