diff --git a/traits/home-manager/cheina.nix b/traits/home-manager/cheina.nix index 6a6b85a..02b900e 100644 --- a/traits/home-manager/cheina.nix +++ b/traits/home-manager/cheina.nix @@ -36,4 +36,23 @@ cli.git.enable = false; cli.hishtory.enable = false; }; + + programs.helix.languages.language = [ + { + name = "php"; + language-id = "php"; + debugger = { + name = "vscode-php-debug"; + transport = "stdio"; + command = "node"; + args = [ "/home/cheina/.vscode/extensions/xdebug.php-debug-1.34.0/out/phpDebug.js" ]; + }; + debugger.templates = [{ + name = "Listen for Xdebug"; + request = "launch"; + completion = [ "ignored" ]; + args = { }; + }]; + } + ]; }