Эх сурвалжийг харах

Add additional launch profile (#503)

Daelon Suzuka 1 жил өмнө
parent
commit
37ea21272a
1 өөрчлөгдсөн 19 нэмэгдсэн , 1 устгасан
  1. 19 1
      .vscode/launch.json

+ 19 - 1
.vscode/launch.json

@@ -4,7 +4,8 @@
 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
 {
 	"version": "0.2.0",
-	"configurations": [{
+	"configurations": [
+		{
 			"name": "Run Extension",
 			"type": "extensionHost",
 			"request": "launch",
@@ -20,5 +21,22 @@
 				"VSCODE_DEBUG_MODE": true
 			}
 		},
+		{
+			"name": "Run Extension with workspace file",
+			"type": "extensionHost",
+			"request": "launch",
+			"runtimeExecutable": "${execPath}",
+			"args": [
+				"${workspaceFolder}/workspace.code-workspace",
+				"--extensionDevelopmentPath=${workspaceFolder}"
+			],
+			"outFiles": [
+				"${workspaceFolder}/out/**/*.js"
+			],
+			"preLaunchTask": "npm: watch",
+			"env": {
+				"VSCODE_DEBUG_MODE": true
+			}
+		},
 	]
 }