mirror of
https://codeberg.org/icewind/haze.git
synced 2026-10-01 08:44:09 +02:00
feat(README): Document Xdebug
Signed-off-by: Louis Chmn <louis@chmn.me>
This commit is contained in:
parent
e7c39f49f7
commit
459e467cf2
1 changed files with 25 additions and 0 deletions
25
README.md
25
README.md
|
|
@ -497,6 +497,31 @@ apps = ["groupfolders"] # app to enable
|
|||
commands = ["occ groupfolders:create gf", "occ groupfolders:group 1 admin read write share delete"] # commands to run post-setup
|
||||
```
|
||||
|
||||
## Xdebug
|
||||
|
||||
Haze Xdebug is running in a docker container, you need to tell you IDE how to
|
||||
properly map the path. The IDE debugger config usually looks like:
|
||||
|
||||
```json
|
||||
{
|
||||
"label": "PHP: Debug server within docker",
|
||||
"adapter": "Xdebug",
|
||||
"request": "launch",
|
||||
"port": 9003,
|
||||
"pathMappings": {
|
||||
"/var/www/html": "<sources_root_configured_in_haze.toml>",
|
||||
"/var/www/html/apps-extra": "<app_directories_configured_in_haze.toml>",
|
||||
},
|
||||
},
|
||||
```
|
||||
|
||||
This would have to be adapted for detached instances.
|
||||
|
||||
To enable Xdebug for all requests:
|
||||
|
||||
- Uncomment the lines in `haze <cloud-id> edit /config/php.ini`
|
||||
- Then run `haze reload <cloud-id>`
|
||||
|
||||
## FrankenPHP (experimental)
|
||||
|
||||
You can have Nextcloud run on FrankenPHP.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue