Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docker): Xdebug support #214

Merged
merged 1 commit into from
Dec 1, 2024
Merged

Conversation

ragusa87
Copy link
Contributor

@ragusa87 ragusa87 commented Dec 1, 2024

Put back xdebug.

I created multiple stages

  • prod: The container with everything (default)
  • dev: The container without the code, with Xdebug installed.

To use the dev mode, you need to create an override.yaml file like below and run the install commands manually (composer install ; npm install ; npm build).

services:
  biblioteca:
    build:
        target: dev
    environment:
      - XDEBUG_MODE=debug
      - PHP_IDE_CONFIG=serverName=...

@SergioMendolia SergioMendolia merged commit 8f50cec into biblioverse:main Dec 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants