npm i
Every day needs to found its input puzzle in folder_number/input.txt
(e.g. 01/input.txt
).
From root folder of the project, run the main.ts
file in each day folder, for instance, for day 1:
npx tsx 01/main.ts
Options to launch the scripts in debug:
Defined in .vscode/launch.json
, you need to specify there the file to debug. It produce out/main.js
. It auto focus the terminal tab, that contains no useful output, console log are in DEBUG CONSOLE
tab.
Defined in .vscode/launch.json
, it launch the current opened file, output is promted in the integrated terminal/