Run JavaScript code
Run & Debug popup: Ctrl0R
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.

Gif
Create a package.json file with a
start
script in thescripts
field:"scripts": { "start": "node <file to run> }
Click the Run icon in the gutter next to the
start
script and select Run 'start'.Alternatively, press Ctrl0R to open the Run&Debug popup and select start from the list.
Thanks for your feedback!
Was this page helpful?