File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,13 @@ tasks.register<Exec>("runExtension") {
55
55
group = " VS Code"
56
56
description = " Builds and runs the extension"
57
57
58
- var cwd = System .getProperty(" cwd" , " " ) // argument is -Pcwd=
59
- var execArgs = " code --extensionDevelopmentPath=${projectDir.absolutePath} ${cwd} --inspect-extensions 1234"
60
-
58
+ var cwd = System .getProperty(" cwd" , " " ) // gradle argument is -Pcwd=
59
+ var execArgs = " --extensionDevelopmentPath=${projectDir.absolutePath} ${cwd} " .trim()
61
60
if (Os .isFamily(Os .FAMILY_WINDOWS )) {
62
61
executable = " cmd"
63
- setArgs(listOf (" /c ${execArgs} " ))
62
+ setArgs(listOf (" /c code ${execArgs} " ))
64
63
} else {
65
- executable = " sh "
64
+ executable = " code "
66
65
setArgs(listOf (execArgs))
67
66
}
68
67
You can’t perform that action at this time.
0 commit comments