feat: Update launch configuration and docker-compose for backend debugging

This commit is contained in:
Wikid82
2025-11-24 16:34:46 +00:00
parent c42e4d5ab9
commit fce717f7d9
2 changed files with 8 additions and 3 deletions
+7 -3
View File
@@ -1,13 +1,17 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Docker",
"name": "Attach to Backend (Docker)",
"type": "go",
"request": "attach",
"mode": "remote",
"remotePath": "",
"substitutePath": [
{
"from": "${workspaceFolder}",
"to": "/app"
}
],
"port": 2345,
"host": "127.0.0.1",
"showLog": true,
+1
View File
@@ -34,6 +34,7 @@ services:
- caddy_data_local:/data
- caddy_config_local:/config
- /var/run/docker.sock:/var/run/docker.sock:ro # For local container discovery
- ./backend:/app/backend:ro # Mount source for debugging
# Mount your existing Caddyfile for automatic import (optional)
# - ./my-existing-Caddyfile:/import/Caddyfile:ro
# - ./sites:/import/sites:ro # If your Caddyfile imports other files