JetBrains Rider
 
2021.1
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Node.js with Docker

Last modified: 20 July 2021

Required plugins: JavaScript and TypeScript, JavaScript Debugger, Node.js, Node.js Remote Interpreter, Docker

The plugins are bundled with JetBrains Rider and enabled by default.

Required plugins: JavaScript and TypeScript, JavaScript Debugger, Node.js, Node.js Remote Interpreter See Before you start below.

You can quickly bootstrap your Node.js application with Docker to run, debug, and profile it from JetBrains Rider. The IDE will take care of the initial configuration by automatically creating a new Dockerfile, building and running an image, syncing your source code, and installing npm dependencies in the container.

You can find some examples at Quick Tour of WebStorm and Docker.

Even with automatic configuration, you still need to bind the port on which your application is running with the port of the container. Those exposed ports are available on the Docker host’s IP address (by default 192.168.99.100). Such binding is required when you debug the client side of a Express application. In this case, you need to open the browser from your computer and access the application at the container host through the port specified in the application.