![]() ![]() ![]() To use the package manager associated with the new interpreter for managing your project dependencies, set this package manager as default in your project. PhpStorm automatically uses this interpreter every time you select the Project alias from Node Interpreter lists, for example, when creating run/debug configurations. To set the newly configured interpreter as project default, select it in the list and click OK to return to the Node.js dialog. In the Configure Node.js Remote Interpreter dialog that opens, select SSH.Īlternatively, click and create a new SSH configuration as described in Create SSH configurations.Ĭlick OK to return to the Node.js Interpreters dialog where the new interpreter is added to the list. 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 ( Ctrl+Alt+S) and go to Languages & Frameworks | Node.js.Ĭlick next to the Node interpreter field. Configure a remote Node.js interpreter via SSH 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.Ī remote Node.js interpreter that you configure right in the Node.js run/debug configuration can be used only with this run/debug configuration. ![]() Node.js interpreters via SSH are configured in the Configure Node.js Remote Interpreter dialog. For more details about plugins, see Managing plugins.Ĭonfigure access to an SSH server on the target remote host as described in Create SSH configurations and make sure this server is running. In the search field, type FTP/SFTP/WebDAV Connectivity. Press Ctrl+Alt+S to open the IDE settings and select Plugins. Make sure the FTP/SFTP/WebDAV Connectivity plugin is enabled in the settings. Install and enable the Node.js Remote Interpreter plugin on the Settings | Plugins page, tab Marketplace, as described in Installing plugins from JetBrains repository. Remote Node.js interpreter on a host accessible through SSH connection Before you start In this case you can set the interpreter and the associated package manager as default for your project.Ī remote Node.js interpreter that you configure right in the Node.js run/debug configuration can be used only with this run/debug configuration. 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 a remote environment. Remote Node.js interpreters are configured in the Configure Node.js Remote Interpreter dialog. In PhpStorm, you need to configure a remote Node.js interpreter when you want to develop, test, lint, run and debug your application on Node.js installed on a remote host or in a virtual environment. Local interpreters are configured on the Node.js page, see Configuring a local Node.js interpreter. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |