chore(minecraft): debug launch.json

This commit is contained in:
Rin
2026-02-18 11:12:03 +08:00
committed by Neko Ayaka
parent 07097d1f78
commit f99b9d6aa4
+35
View File
@@ -0,0 +1,35 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Minecraft (dev)",
"runtimeExecutable": "node",
"runtimeArgs": [
"--import",
"tsx"
],
"program": "${workspaceFolder}/src/main.ts",
"cwd": "${workspaceFolder}",
"envFile": "${workspaceFolder}/.env",
"skipFiles": [
"<node_internals>/**"
],
"console": "integratedTerminal"
},
{
"type": "node",
"request": "attach",
"name": "Attach to running bot",
"port": 9229,
"restart": true,
"skipFiles": [
"<node_internals>/**"
]
}
]
}