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.

  • What is the best way to get (stream) data from BigQuery to R (Rstudio server in Docker)
  • Re-running docker-compose in Windows says network configuration changed
  • Serving Jupyter Notebook from within docker container on AWS not working?
  • Wrong type error on an interface intended to test a method using Docker's client API
  • Somtimes docker container dns fail
  • docker native networking vs weave net/flux/show
  • 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.

  • Building Docker images with Jenkins that runs inside a Docker container
  • Ansible error due to GMP package version on Centos6
  • Installing Jenkins Plugins to Docker Jenkins
  • How to test queue worker outage and recovery
  • Cannot execute ansible playbook via docker container
  • OpenSSL error on Tornado server
  • 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.