-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Getting xdebug working on osx is a pain, devcontainers are less pain...
- Loading branch information
Showing
3 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile | ||
{ | ||
"name": "Shimmie Dockerfile", | ||
"build": { | ||
"context": "..", | ||
"dockerfile": "../Dockerfile", | ||
"target": "devcontainer" | ||
}, | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Uncomment the next line to run commands after the container is created. | ||
// "postCreateCommand": "apt update && apt install -y composer php8.2-xdebug git", | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"recca0120.vscode-phpunit", | ||
"ryanluker.vscode-coverage-gutters" | ||
], | ||
"settings": { | ||
"phpunit.args": [ | ||
"--configuration", "${workspaceFolder}/tests/phpunit.xml"//, | ||
//"--coverage-clover", "data/coverage.clover" | ||
], | ||
"coverage-gutters.coverageFileNames": [ | ||
"data/coverage.clover" | ||
] | ||
} | ||
} | ||
} | ||
|
||
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "devcontainer" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ thumbs | |
*.phar | ||
*.sqlite | ||
*.cache | ||
.devcontainer | ||
trace.json | ||
|
||
#Composer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters