]> BookStack Code Mirror - bookstack/commitdiff
doc(dev): add xdebug informations 3193/head
authorjulesdevops <redacted>
Sun, 23 Jan 2022 13:26:01 +0000 (14:26 +0100)
committerjulesdevops <redacted>
Sun, 23 Jan 2022 13:26:01 +0000 (14:26 +0100)
readme.md

index 22d0691ddfeffc936cfdfd0e27d85fc55799ef44..de5da04d9d67758e14e58446c563a4adddd2dd26 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -156,6 +156,11 @@ Once the database has been migrated & seeded, you can run the tests like so:
 docker-compose run app php vendor/bin/phpunit
 ```
 
+#### Debugging
+
+The docker-compose setup ships with Xdebug, which you can listen to on port 9090.
+NB : For some editors like Visual Studio Code, you might need to map your workspace folder to the /app folder within the docker container for this to work.
+
 ## ðŸŒŽ Translations
 
 Translations for text within BookStack is managed through the [BookStack project on Crowdin](https://crowdin.com/project/bookstack). Some strings have colon-prefixed variables in such as `:userName`. Leave these values as they are as they will be replaced at run-time. Crowdin is the preferred way to provide translations, otherwise the raw translations files can be found within the `resources/lang` path.