diff --git a/package.json b/package.json index 107e0641..5654354a 100644 --- a/package.json +++ b/package.json @@ -581,7 +581,7 @@ { "command": "extension.php-debug.startWithStopOnEntry", "key": "F11", - "when": "!inDebugMode && debugConfigurationType == 'php'" + "when": "!inDebugMode && activeViewlet == 'workbench.view.debug' && debugConfigurationType == 'php'" } ] }