Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.03 KB

File metadata and controls

25 lines (17 loc) · 1.03 KB

A TypeScript console application template

A TypeScript Node.js console application template with opinionated Biome linting.

Install Biome VS Code extension or Biome IntelliJ Plugin depending on the IDE platform to enable linting and fixing the code formatting.

The code should be able to debugged in the IDE. Use ⌘/Ctrl+Shift+B to run the background continuous build task.

Debug The code by pressing F5. Remember to add break points

Importing local code files

You need to use js file extension to modularize your comsole application into separate files.

Correct ✔️:

import { foo } from "./bar.js";

Fail ❌:

import { foo } from "./bar";

Notes

The VS Code currently doesn't seem to be able to attach the NodeJS Debugger to the NodeJS v.23.x.