Languages
Node.js
Run and debug Node.js from Gunamaya — with the same terminal, tasks, and JavaScript language tools you already use.
Prerequisites
Install Node.js on your machine and confirm node and npm work in
Gunamaya's integrated terminal. Version managers (nvm,
fnm, and similar) work as long as your shell profile loads them for
non-login terminals too.
Editing and IntelliSense
Node projects are ordinary JavaScript or
TypeScript workspaces. Automatic type
acquisition pulls @types packages for many dependencies so completion
understands APIs from npm.
Running and debugging
- Run a file with
node app.jsin the terminal, or a script vianpm start. - Debug with a launch configuration (
F5) that uses the Node debug type — breakpoints, the call stack, and the Debug Console work like any other debug session. See Debugging.
Tasks for npm scripts
Scripts in package.json can be auto-detected as
tasks. Tasks: Configure Task offers
them; names like build, compile, and watch are treated as build
tasks by default.