Skip to content

Commit 7a81c68

Browse files
committed
Add launch.json for local debugging
1 parent d495123 commit 7a81c68

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Debug NodeJs",
11+
"skipFiles": ["<node_internals>/**"],
12+
"program": "${workspaceFolder}\\src\\index.ts",
13+
"runtimeArgs": ["-r", "ts-node/register", "--loader", "ts-node/esm"],
14+
"console": "integratedTerminal",
15+
"envFile": "${workspaceFolder}/.env"
16+
}
17+
]
18+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"glob": "^10.3.12",
4343
"prisma": "^5.12.1",
4444
"ts-node": "^10.9.2",
45+
"tsconfig-paths": "^4.2.0",
4546
"tsx": "^4.7.2",
4647
"typescript": "^5.4.4"
4748
}

yarn.lock

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1906,6 +1906,11 @@ json-stable-stringify-without-jsonify@^1.0.1:
19061906
resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz"
19071907
integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==
19081908

1909+
json5@^2.2.2:
1910+
version "2.2.3"
1911+
resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
1912+
integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
1913+
19091914
jsonwebtoken@^9.0.2:
19101915
version "9.0.2"
19111916
resolved "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz"
@@ -2111,6 +2116,11 @@ minimatch@^9.0.1:
21112116
dependencies:
21122117
brace-expansion "^2.0.1"
21132118

2119+
minimist@^1.2.6:
2120+
version "1.2.8"
2121+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
2122+
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
2123+
21142124
"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.4:
21152125
version "7.0.4"
21162126
resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz"
@@ -2600,6 +2610,11 @@ strip-ansi@^7.0.1:
26002610
dependencies:
26012611
ansi-regex "^6.0.1"
26022612

2613+
strip-bom@^3.0.0:
2614+
version "3.0.0"
2615+
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
2616+
integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==
2617+
26032618
strip-json-comments@^3.1.1:
26042619
version "3.1.1"
26052620
resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz"
@@ -2657,7 +2672,7 @@ ts-api-utils@^1.0.1:
26572672

26582673
ts-node@^10.9.2:
26592674
version "10.9.2"
2660-
resolved "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz"
2675+
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f"
26612676
integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==
26622677
dependencies:
26632678
"@cspotcode/source-map-support" "^0.8.0"
@@ -2674,6 +2689,15 @@ ts-node@^10.9.2:
26742689
v8-compile-cache-lib "^3.0.1"
26752690
yn "3.1.1"
26762691

2692+
tsconfig-paths@^4.2.0:
2693+
version "4.2.0"
2694+
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz#ef78e19039133446d244beac0fd6a1632e2d107c"
2695+
integrity sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==
2696+
dependencies:
2697+
json5 "^2.2.2"
2698+
minimist "^1.2.6"
2699+
strip-bom "^3.0.0"
2700+
26772701
tslib@^2.1.0, tslib@^2.4.0, tslib@^2.5.0:
26782702
version "2.6.2"
26792703
resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz"

0 commit comments

Comments
 (0)