enable php xdebug
This commit is contained in:
parent
5f44cbb266
commit
46b2f60fa4
2 changed files with 14 additions and 1 deletions
|
|
@ -14,3 +14,6 @@ make run
|
|||
```
|
||||
|
||||
Requires NixOS :)
|
||||
|
||||
Useful resources
|
||||
* Use Xdebug in VSCode https://khotsufyan.medium.com/setup-xdebug-with-visual-studio-code-3eed3e411daa
|
||||
|
|
@ -41,6 +41,16 @@
|
|||
adminuser = "admin";
|
||||
adminpassFile = "${pkgs.writeText "adminpass" "test123"}";
|
||||
};
|
||||
phpPackage = lib.mkForce (pkgs.php.buildEnv {
|
||||
extensions = ({ enabled, all }: enabled ++ (with all; [
|
||||
xdebug
|
||||
]));
|
||||
});
|
||||
phpOptions = {
|
||||
"xdebug.mode" = "debug";
|
||||
"xdebug.client_host" = "10.0.2.2";
|
||||
"xdebug.client_port" = "9000";
|
||||
};
|
||||
appstoreEnable = false;
|
||||
extraOptions = {
|
||||
mail_smtpmode = "sendmail";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue