From 8bc0a1e76b12a4dcff59dd7706019389f2fca94b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Tue, 24 Sep 2024 12:26:18 +0200 Subject: [PATCH] add comment how to debug in test docker-compose file --- docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 0536ad4..47d5117 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,20 @@ version: '3' # Install docker and docker compose and than just run: # docker compose up +# To live debug in VSCode add this launch configuration to your .vscode/launch.json. +# It assumes that the WordPress root-dir is your workspace root. +# +# { +# "name": "Listen for PHPUnit", +# "type": "php", +# "request": "launch", +# "port": 9003, +# "pathMappings": { +# "/app/": "${workspaceRoot}/wp-content/plugins/activitypub-event-extensions/", +# "/tmp/wordpress/": "${workspaceRoot}/" +# }, +# }, + services: test-db: image: mariadb