

Click to expand the Before launch area, click, and select Launch Web Browser from the list. To open the application in the browser automatically, configure a before-launch task.

In the Application parameters field, specify the Node.js-specific arguments to be passed to the application on start through the process.argv array. For example, you may want to enable an experimental Node.js feature or pass another option, see the Node.js official website for details. Specify the Node parameters that customize the start of Node.js. In the JavaScript File field, specify the path to the main file of the application that starts it (for example, bin/www for Express applications).

You can also choose another configured local interpreter or click and configure a new one. In most cases, AppCode detects the project default interpreter and fills in the field itself. If you choose the Project alias, AppCode will automatically use the project default interpreter from the Node interpreter field on the Node.js page. The Run/Debug Configuration: Node.js dialog opens. In the Edit Configurations dialog that opens, click the Add button ( ) on the toolbar and select Node.js from the list. Alternatively, select Edit Configurations from the list on the toolbar. Create a Node.js run/debug configurationįrom the main menu, select Run | Edit Configurations. AppCode also uses this configuration to start the debugger together with Node.js applications.
Jetbrains for node js install#
Install and enable the Node.js plugin on the Preferences | Plugins page, tab Marketplace, as described in Installing plugins from JetBrains repository.ĪppCode runs Node.js applications according to a run configuration of the type Node.js. Make sure the JavaScript and TypeScript and JavaScript Debugger required plugins are enabled on the Settings | Plugins page, tab Installed, see Managing plugins for details. You can debug applications that are started from AppCode as well as attach to already running applications. AppCode helps you run and debug your Node.js applications.
