Skip to content

Commit

Permalink
step
Browse files Browse the repository at this point in the history
  • Loading branch information
Miniast committed Apr 26, 2024
1 parent 31f1104 commit 8a6877a
Show file tree
Hide file tree
Showing 12 changed files with 522 additions and 396 deletions.
33 changes: 26 additions & 7 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,34 @@
"version": "0.2.0",
"configurations": [
{
"name": "ts-node",
"name": "tsx",
"type": "node",
"request": "launch",
"runtimeExecutable": "ts-node",
"runtimeArgs": ["-r", "ts-node/register/transpile-only"],
"args": ["${relativeFile}"],
"cwd": "${workspaceRoot}",
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": ["<node_internals>/**", "node_modules/**"]

// Debug current file in VSCode
"program": "${file}",

/*
Path to tsx binary
Assuming locally installed
*/
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/tsx",

/*
Open terminal when debugging starts (Optional)
Useful to see console.logs
*/
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",

// Files to exclude from debugger (e.g. call stack)
"skipFiles": [
// Node.js internal core modules
"<node_internals>/**",

// Ignore all dependencies (optional)
"${workspaceFolder}/node_modules/**"
]
}
]
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
"author": "",
"license": "MIT",
"dependencies": {
"got": "^13.0.0"
"got": "^13.0.0",
"seenreq": "^3.0.0"
},
"devDependencies": {
"@types/got": "^9.6.12",
"@types/node": "^20.10.6",
"ts-node": "^10.9.2"
"tsx": "^4.7.3"
}
}
Loading

0 comments on commit 8a6877a

Please sign in to comment.