fix(debugger): debug PHP with php-debug on the configured PHP (#1641)

php-debug had no launch template: the generic one sent the configuration's command as the program, so artisan serve failed or ran the PHP binary as a script, and PHPUnit skipped breakpoints unless php.ini enabled Xdebug's debug mode. The template runs the script on the PHP the command names or the one from Settings, enables debug mode with -d options on the port php-debug picks, and PHP files and php scripts become debuggable. php-debug returns to the configuration form's Debug adapter list.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-06 07:27:22 +08:00
1 джерело b450f4028b
коміт a5d1b16e59
7 files changed
+88 -6

No files matched your search

+1
Переглянути файл
@@ -86,6 +86,7 @@ const BUILT_AT_RUNTIME = new Set<string>([]);
const UNTRANSLATED = new Set<string>([
"dotnet test",
"netcoredbg (.NET)",
"php-debug (PHP)",
// Product names
"Cargo",
"CMake",