JetBrains Fleet 1.36 Help

Run JavaScript code

You can run server-side JavaScript code right from Fleet provided that you have installed and configured Node.js on your computer as described in Configure a Node.js interpreter.

Run Javascript code in Fleet
  1. Create a package.json file with a start script in the scripts field:

    "scripts": { "start": "node <file to run> }
    Package.json with a start script
  2. Click the Run icon in the gutter next to the start script and select Run 'start'.

    Run the start script

    Alternatively, press ⌘ R to open the Run&Debug popup and select start from the list.

    Run&Debug popup
Last modified: 26 May 2024