![]() In the Node.js Interpreters dialog with a list of all the currently configured interpreters, click on the toolbar and select Add Remote from the context menu. ![]() Open the Settings dialog ( Control+Alt+S) and go to Languages & Frameworks | Node.js.Ĭlick next to the Node interpreter field. See npm, pnpm, and yarn with Docker, Test your application, and ESLint with Docker below.Ī remote Node.js interpreter that you configure right in the Node.js run/debug configuration can be used only with this run/debug configuration. As a result, you can not only run and debug your app with configured Node.js interpreter in Docker but also manage your project dependencies, run tests, and lint your code. In this case you can set the interpreter and the associated package manager as default for your project. The recommended way is to configure a remote Node.js interpreter in the Settings dialog. You can open this dialog from the Node.js page of the Settings dialog or later, when you create or edit a Node.js run/debug configuration for running or debugging your application in Docker. Node.js interpreters in Docker are configured in the Configure Node.js Remote Interpreter dialog. For more information, refer to Managing plugins.ĭownload, install, and configure Docker as described in DockerĬonfigure a Node.js interpreter in Docker ![]() Make sure the JavaScript Debugger, Node.js, Node.js Remote Interpreter, and Docker required plugins are enabled on the Settings | Plugins page, tab Installed. You can find some examples at Quick Tour of WebStorm and Docker. ![]() 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. With Docker, you can quickly bootstrap your Node.js application to run, debug, and profile it from WebStorm. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |