To use xdebug with macOS and docker is quite, let´s call it tricky ;)
The following steps need to be proceed to get it working:
- use the config from the xdebug.ini wihtin your docker web container. Important: set remote_connect_back to off
| <?php | |
| namespace MyVendor\MyExtension\Property\TypeConverters; | |
| /*************************************************************** | |
| * Copyright notice | |
| * | |
| * (c) 2014 Manuel Selbach <m.selbach@reply.de>, triplesense reply | |
| * | |
| * All rights reserved |
| #!/bin/bash | |
| set -e | |
| # insert a line to a file if the line does not already exist | |
| # - first parameter is the file to insert the line | |
| # - second parameter is the line to insert. It'll only be inserted if not already exists | |
| # - third parameter is optional. This will override the search behavior. | |
| # Instead of searching for the line of parameter 2 this term is used. | |
| function insertLineIfNotExists { | |
| FILE=$1 |
| #!/bin/zsh | |
| # go to zsh first | |
| git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" | |
| # if not works out of the box uncomment this | |
| # mv .zshrc .zshrc_bak | |
| setopt EXTENDED_GLOB |
| mod.wizards.newContentElement.wizardItems.plugins { | |
| elements { | |
| [extension_key] { | |
| icon = ../typo3conf/ext/[extension_key]/Resources/Public/Icons/icon.png | |
| title = LLL:EXT:[extension_key]/Resources/Private/Language/locallang_be.xlf:plugin_title | |
| description = LLL:EXT:[extension_key]/Resources/Private/Language/locallang_be.xlf:plugin_description | |
| tt_content_defValues { | |
| CType = list | |
| list_type = [extensionkey]_[pluginname] | |
| } |
| # ENVs | |
| ############################################## | |
| export HOMEBREW_CASK_OPTS="$HOMEBREW_CASK_OPTS --appdir=/Applications" | |
| export NO_AUTO_PERMISSION_FIX=1 | |
| # grep settings | |
| ############################################## | |
| export GREP_OPTIONS='--color=always' | |
| export GREP_COLOR='1;31;40' |
| git merge --no-commit --no-ff <branch-name> | |
| # To abort merge | |
| git merge --abort |
| <?php | |
| class SomeController | |
| { | |
| /** | |
| * Example method | |
| */ | |
| public function someAction() | |
| { | |
| $results = $this->someRespository->findAll(); |
| lib.headerimage = COA | |
| lib.headerimage { | |
| 10 = FILES | |
| 10 { | |
| references { | |
| data = levelmedia:-1, slide | |
| listNum = 0 | |
| } | |
| renderObj = IMG_RESOURCE | |
| renderObj { |
| { | |
| { | |
| "type":"package", | |
| "package": { | |
| "name": "placeholder/for-namespace", | |
| "type": "typo3-cms-extension", | |
| "version":"dev-bugfix", | |
| "source": { | |
| "url": "https://github.com/your-account/your-repository.git", | |
| "type": "git", |