// A launch configuration that compiles the extension and then opens it inside a new window
// 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": [
		{
			"name": "Run Extension",
			"type": "extensionHost",
			"request": "launch",
			"runtimeExecutable": "${execPath}",
			"args": [
				"--extensionDevelopmentPath=${workspaceFolder}"
			],
			"outFiles": [
				"${workspaceFolder}/out/**/*.js"
			],
			"skipFiles": [
				"**/extensionHostProcess.js",
				"<node_internals>/**/*.js"
			],
			"preLaunchTask": "npm: watch",
			"env": {
				"VSCODE_DEBUG_MODE": "true"
			}
		},
		{
			"name": "Run Extension with workspace file",
			"type": "extensionHost",
			"request": "launch",
			"runtimeExecutable": "${execPath}",
			"args": [
				"--profile=temp",
				"--extensionDevelopmentPath=${workspaceFolder}",
				"${workspaceFolder}/test_projects/test-dap-project-godot4"
			],
			"outFiles": [
				"${workspaceFolder}/out/**/*.js"
			],
			"skipFiles": [
				"**/extensionHostProcess.js",
				"<node_internals>/**/*.js"
			],
			"preLaunchTask": "npm: watch",
			"env": {
				"VSCODE_DEBUG_MODE": "true"
			}
		},
		{
			"name": "Run Extension with local workspace file",
			"type": "extensionHost",
			"request": "launch",
			"runtimeExecutable": "${execPath}",
			"args": [
				"--profile=temp",
				"--extensionDevelopmentPath=${workspaceFolder}",
				"${workspaceFolder}/workspace.code-workspace"
			],
			"outFiles": [
				"${workspaceFolder}/out/**/*.js"
			],
			"skipFiles": [
				"**/extensionHostProcess.js",
				"<node_internals>/**/*.js"
			],
			"preLaunchTask": "npm: watch",
			"env": {
				"VSCODE_DEBUG_MODE": "true"
			}
		},
	]
}
