Skip to content
Snippets Groups Projects
Commit b79aa71e authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed debugger configuration

parent d8ae925d
No related branches found
No related tags found
1 merge request!2033Development
...@@ -12,17 +12,6 @@ ...@@ -12,17 +12,6 @@
"pathMappings": { "pathMappings": {
"/metager/metager_app": "${workspaceRoot}/metager" "/metager/metager_app": "${workspaceRoot}/metager"
} }
},
{
"name": "PHP - Launch currently open script",
"type": "php",
"request": "launch",
"port": 9003,
"program": "${file}",
"cwd": "${fileDirname}",
"pathMappings": {
"/metager/metager_app": "${workspaceRoot}/metager"
}
} }
] ]
} }
\ No newline at end of file
...@@ -5,8 +5,7 @@ expose_php = On ...@@ -5,8 +5,7 @@ expose_php = On
xdebug.mode = debug xdebug.mode = debug
xdebug.log_level= 0 xdebug.log_level= 0
xdebug.start_with_request = yes xdebug.start_with_request = yes
xdebug.discover_client_host = true xdebug.client_host=host.docker.internal
xdebug.idekey=VSCODE
; OP cache ; OP cache
opcache.enable=0 opcache.enable=0
\ No newline at end of file
...@@ -18,6 +18,8 @@ services: ...@@ -18,6 +18,8 @@ services:
- metager - metager
volumes: volumes:
- ./metager:/metager/metager_app - ./metager:/metager/metager_app
extra_hosts:
- "host.docker.internal:host-gateway"
healthcheck: healthcheck:
test: "curl -f http://nginx:8080/health-check/liveness" test: "curl -f http://nginx:8080/health-check/liveness"
nginx: nginx:
...@@ -46,6 +48,8 @@ services: ...@@ -46,6 +48,8 @@ services:
- metager - metager
volumes: volumes:
- ./metager:/metager/metager_app - ./metager:/metager/metager_app
extra_hosts:
- "host.docker.internal:host-gateway"
healthcheck: healthcheck:
test: "curl -f http://nginx:8080/health-check/liveness-scheduler" test: "curl -f http://nginx:8080/health-check/liveness-scheduler"
worker: worker:
...@@ -57,7 +61,7 @@ services: ...@@ -57,7 +61,7 @@ services:
networks: networks:
- metager - metager
extra_hosts: extra_hosts:
- "dockerhost:192.168.5.1" - "host.docker.internal:host-gateway"
volumes: volumes:
- ./metager:/metager/metager_app - ./metager:/metager/metager_app
healthcheck: healthcheck:
...@@ -112,4 +116,4 @@ networks: ...@@ -112,4 +116,4 @@ networks:
ipam: ipam:
driver: default driver: default
config: config:
- subnet: "192.168.5.0/24" - subnet: "192.168.5.0/24"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment