Skip to content

Commit

Permalink
set default working directory for debug into same location, but separ…
Browse files Browse the repository at this point in the history
…ate from required locations for development
  • Loading branch information
sagerb committed Jan 8, 2025
1 parent 41806a0 commit 1bbf9f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"mode": "auto",
"program": "${workspaceFolder}/cmd/publisher/main.go",
"args": ["ui", "--listen=localhost:9001", "-vv"],
"cwd": "${workspaceFolder}"
"cwd": "${workspaceFolder}/test/sample-content"
}
]
}
4 changes: 2 additions & 2 deletions extensions/vscode/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "${defaultBuildTask}",
"env": { "POSIT_PUBLISHER_USE_EXTERNAL_AGENT": "TRUE" },
"cwd": "${workspaceFolder}"
"cwd": "${workspaceFolder}/../../test/sample-content"
},
{
"name": "Debug with internal agent",
Expand All @@ -23,7 +23,7 @@
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "${defaultBuildTask}",
"env": { "POSIT_PUBLISHER_USE_EXTERNAL_AGENT": "FALSE" },
"cwd": "${workspaceFolder}"
"cwd": "${workspaceFolder}/../../test/sample-content"
},
{
"name": "Extension Tests",
Expand Down

0 comments on commit 1bbf9f3

Please sign in to comment.