Browse Source

[ts] VS Code debug-printer launch config.

Mario Zechner 2 months ago
parent
commit
99f9aca731
1 changed files with 20 additions and 0 deletions
  1. 20 0
      spine-ts/.vscode/launch.json

+ 20 - 0
spine-ts/.vscode/launch.json

@@ -38,6 +38,26 @@
 			"name": "phaser-example",
 			"url": "http://localhost:8080/spine-phaser/example/index.html",
 			"webRoot": "${workspaceFolder}"
+		},
+		{
+			"name": "debug-printer (ts)",
+			"type": "node",
+			"request": "launch",
+			"runtimeExecutable": "npx",
+			"runtimeArgs": [
+				"tsx"
+			],
+			"program": "${workspaceFolder}/spine-core/tests/DebugPrinter.ts",
+			"args": [
+				"${workspaceFolder}/../examples/spineboy/export/spineboy-pro.json",
+				"${workspaceFolder}/../examples/spineboy/export/spineboy-pma.atlas",
+				"walk"
+			],
+			"cwd": "${workspaceFolder}/spine-core",
+			"console": "integratedTerminal",
+			"skipFiles": [
+				"<node_internals>/**"
+			]
 		}
 
 	]