Skip to content

Commit 76f8c57

Browse files
authored
fix: Auto configure runtimeExecutable when only runtimeArgs are used (built-in web server). (#683)
[skip ci]
1 parent edb7a41 commit 76f8c57

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/extension.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ export function activate(context: vscode.ExtensionContext) {
2828
// debugConfiguration.stopOnEntry = true
2929
}
3030
}
31-
if (debugConfiguration.program && !debugConfiguration.runtimeExecutable) {
31+
if (
32+
(debugConfiguration.program || debugConfiguration.runtimeArgs) &&
33+
!debugConfiguration.runtimeExecutable
34+
) {
3235
// See if we have runtimeExecutable configured
3336
const conf = vscode.workspace.getConfiguration('php')
3437
const executablePath =

0 commit comments

Comments
 (0)