"XDebug not accepting external connections" after Docker update

XDebug was previously working within PHPStorm but now after a recent docker update and rebuild its giving error "Cannot accept external Xdebug connection: Cannot evaluate expression 'isset($_SERVER['PHP_IDE_CONFIG'])'"

I have checked my settings within my LARADOCK .env file and all IPs and ports are set correctly for NGinx.

PHPStorm settings related to XDebug and Debugging under preferences has not changed.

Not sure what I am missing with regard to my Docker setup to get this running again, if anyone can shed some light I'd be most grateful.

System information:

Mac Sierra
localhost with Docker (Specifically we are using the Laradock set of containers)
PHP 7.2 via docker php-fpm

Running containers = nginx + mariadb

Log content file for today

2019-05-30 08:38:42,919 [82424093] INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 5 to update, calculated in 14ms
2019-05-30 08:38:43,246 [82424420] WARN - ution.process.OSProcessHandler - Process has been already terminated: /usr/bin/nice -n 10 /usr/local/bin/git -c core.quotepath=false -c log.showSignature=false -c diff.renameLimit=1000 log --no-walk=unsorted --stdin --pretty=format:%x01%x01%H%x02%x02%ct%x02%x02%an%x02%x02%at%x02%x02%ae%x02%x02%cn%x02%x02%ce%x02%x02%P%x02%x02%s%x02%x02%b%x02%x02%B%x03%x03 --encoding=UTF-8 -M --name-status -m --
2019-05-30 08:38:43,479 [82424653] INFO - .diagnostic.PerformanceWatcher - Reindexing refreshed files took 559ms; general responsiveness: ok; EDT responsiveness: ok
2019-05-30 08:38:55,305 [82436479] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 74 ms
2019-05-30 08:39:04,364 [82445538] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 54 ms
2019-05-30 08:39:07,186 [82448360] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 27 ms
2019-05-30 09:00:15,494 [83716668] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 38 ms
2019-05-30 09:00:46,902 [83748076] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 37 ms
2019-05-30 09:02:50,152 [83871326] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 43 ms
2019-05-30 09:03:32,276 [83913450] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 62 ms
2019-05-30 09:04:58,406 [83999580] WARN - llij.ide.plugins.PluginManager - qLaunch not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,407 [83999581] WARN - llij.ide.plugins.PluginManager - Stackexchange not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,407 [83999581] WARN - llij.ide.plugins.PluginManager - Subversion not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,407 [83999581] WARN - llij.ide.plugins.PluginManager - Git User not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,407 [83999581] WARN - llij.ide.plugins.PluginManager - Gruvbox Theme not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,407 [83999581] WARN - llij.ide.plugins.PluginManager - PHP Docker not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,407 [83999581] WARN - llij.ide.plugins.PluginManager - deep-assoc-completion not loaded: since build 191.6707.66 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Task Management not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Log helper for java not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Command Line Tool Support not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Docker not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Gherkin not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Perl Docker Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Perl WSL Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Settings Repository not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - LiveEdit not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Prettier not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Angular and AngularJS not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Cucumber.js not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Blade not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Yeoman not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,408 [83999582] WARN - llij.ide.plugins.PluginManager - Vue.js not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Svelte not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Schema2Json not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - CoffeeScript not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Dart not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Markdown not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Perl not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Go Template not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Template Toolkit Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Mojolicious Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Mason Framework not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Mason2 Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - HTML::Mason Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Embedded Perl Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Less not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - NodeJS not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Karma not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - Phing not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,409 [83999583] WARN - llij.ide.plugins.PluginManager - ScalaMock Template not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 09:04:58,410 [83999584] WARN - llij.ide.plugins.PluginManager - SnippMe not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:04:58,410 [83999584] WARN - llij.ide.plugins.PluginManager - Kubernetes not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 09:05:25,489 [84026663] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 44 ms
2019-05-30 09:06:50,095 [84111269] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 42 ms
2019-05-30 09:07:29,747 [84150921] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 41 ms
2019-05-30 09:09:01,956 [84243130] DEBUG - .connection.PhpDebugConnection - 26927721#----connection started
2019-05-30 09:09:01,987 [84243161] DEBUG - .connection.PhpDebugConnection - 26927721#---Start detaching
2019-05-30 09:09:01,989 [84243163] DEBUG - .connection.PhpDebugConnection - 26927721#---input stream is finished
2019-05-30 09:09:01,989 [84243163] DEBUG - .connection.PhpDebugConnection - 26927721#---stop reading
2019-05-30 09:09:01,989 [84243163] DEBUG - .connection.PhpDebugConnection - 26927721#---stop writing
2019-05-30 09:09:01,989 [84243163] DEBUG - .connection.PhpDebugConnection - 26927721#----connection stopped
2019-05-30 09:09:01,989 [84243163] DEBUG - .connection.PhpDebugConnection - 26927721#---Stop detaching
2019-05-30 09:10:50,305 [84351479] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 30 ms
2019-05-30 09:10:59,294 [84360468] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 34 ms
2019-05-30 09:31:30,638 [85591812] INFO - rationStore.ComponentStoreImpl - Saving appIntentionManagerSettings took 16 ms
2019-05-30 09:31:30,659 [85591833] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 74 ms
2019-05-30 09:35:05,457 [85806631] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 30 ms
2019-05-30 09:37:40,280 [85961454] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 52 ms
2019-05-30 09:38:22,637 [86003811] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 25 ms
2019-05-30 09:38:51,787 [86032961] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 69 ms
2019-05-30 09:39:01,051 [86042225] DEBUG - .connection.PhpDebugConnection - 1509632652#----connection started
2019-05-30 09:39:01,083 [86042257] DEBUG - .connection.PhpDebugConnection - 1509632652#---Start detaching
2019-05-30 09:39:01,083 [86042257] DEBUG - .connection.PhpDebugConnection - 1509632652#---input stream is finished
2019-05-30 09:39:01,083 [86042257] DEBUG - .connection.PhpDebugConnection - 1509632652#---stop reading
2019-05-30 09:39:01,083 [86042257] DEBUG - .connection.PhpDebugConnection - 1509632652#---stop writing
2019-05-30 09:39:01,083 [86042257] DEBUG - .connection.PhpDebugConnection - 1509632652#----connection stopped
2019-05-30 09:39:01,083 [86042257] DEBUG - .connection.PhpDebugConnection - 1509632652#---Stop detaching
2019-05-30 09:40:15,003 [86116177] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 57 ms
2019-05-30 09:40:16,721 [86117895] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 28 ms
2019-05-30 09:45:53,037 [86454211] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 42 ms
2019-05-30 09:46:30,063 [86491237] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 51 ms
2019-05-30 09:46:36,816 [86497990] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 28 ms
2019-05-30 09:52:24,954 [86846128] INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 0 to update, calculated in 0ms
2019-05-30 09:52:41,128 [86862302] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 37 ms
2019-05-30 09:54:24,305 [86965479] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 27 ms
2019-05-30 09:56:48,000 [87109174] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 52 ms
2019-05-30 09:56:49,627 [87110801] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 29 ms
2019-05-30 10:00:29,688 [87330862] INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 1 to update, calculated in 0ms
2019-05-30 10:00:30,167 [87331341] INFO - .diagnostic.PerformanceWatcher - Reindexing refreshed files took 478ms; general responsiveness: ok; EDT responsiveness: ok
2019-05-30 10:00:45,990 [87347164] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 47 ms
2019-05-30 10:06:53,020 [87714194] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 48 ms
2019-05-30 10:09:18,105 [87859279] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 26 ms
2019-05-30 10:09:44,642 [87885816] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 25 ms
2019-05-30 10:09:55,353 [87896527] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 27 ms
2019-05-30 10:09:59,095 [87900269] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 39 ms
2019-05-30 10:10:43,156 [87944330] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 27 ms
2019-05-30 10:14:56,049 [88197223] WARN - llij.ide.plugins.PluginManager - qLaunch not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,050 [88197224] WARN - llij.ide.plugins.PluginManager - Stackexchange not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,051 [88197225] WARN - llij.ide.plugins.PluginManager - Subversion not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,051 [88197225] WARN - llij.ide.plugins.PluginManager - Git User not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,051 [88197225] WARN - llij.ide.plugins.PluginManager - Gruvbox Theme not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,051 [88197225] WARN - llij.ide.plugins.PluginManager - PHP Docker not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,052 [88197226] WARN - llij.ide.plugins.PluginManager - deep-assoc-completion not loaded: since build 191.6707.66 > PS-191.6183.95
2019-05-30 10:14:56,052 [88197226] WARN - llij.ide.plugins.PluginManager - Task Management not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,052 [88197226] WARN - llij.ide.plugins.PluginManager - Log helper for java not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,052 [88197226] WARN - llij.ide.plugins.PluginManager - Command Line Tool Support not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,052 [88197226] WARN - llij.ide.plugins.PluginManager - Docker not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,052 [88197226] WARN - llij.ide.plugins.PluginManager - Gherkin not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,052 [88197226] WARN - llij.ide.plugins.PluginManager - Perl Docker Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,052 [88197226] WARN - llij.ide.plugins.PluginManager - Perl WSL Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,053 [88197227] WARN - llij.ide.plugins.PluginManager - Settings Repository not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,053 [88197227] WARN - llij.ide.plugins.PluginManager - LiveEdit not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,053 [88197227] WARN - llij.ide.plugins.PluginManager - Prettier not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,053 [88197227] WARN - llij.ide.plugins.PluginManager - Angular and AngularJS not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,053 [88197227] WARN - llij.ide.plugins.PluginManager - Cucumber.js not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,053 [88197227] WARN - llij.ide.plugins.PluginManager - Blade not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,054 [88197228] WARN - llij.ide.plugins.PluginManager - Yeoman not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,054 [88197228] WARN - llij.ide.plugins.PluginManager - Vue.js not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,054 [88197228] WARN - llij.ide.plugins.PluginManager - Svelte not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,054 [88197228] WARN - llij.ide.plugins.PluginManager - Schema2Json not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,054 [88197228] WARN - llij.ide.plugins.PluginManager - CoffeeScript not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,054 [88197228] WARN - llij.ide.plugins.PluginManager - Dart not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,054 [88197228] WARN - llij.ide.plugins.PluginManager - Markdown not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,054 [88197228] WARN - llij.ide.plugins.PluginManager - Perl not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,054 [88197228] WARN - llij.ide.plugins.PluginManager - Go Template not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,055 [88197229] WARN - llij.ide.plugins.PluginManager - Template Toolkit Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,055 [88197229] WARN - llij.ide.plugins.PluginManager - Mojolicious Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,055 [88197229] WARN - llij.ide.plugins.PluginManager - Mason Framework not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,055 [88197229] WARN - llij.ide.plugins.PluginManager - Mason2 Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,055 [88197229] WARN - llij.ide.plugins.PluginManager - HTML::Mason Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,055 [88197229] WARN - llij.ide.plugins.PluginManager - Embedded Perl Support not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,055 [88197229] WARN - llij.ide.plugins.PluginManager - Less not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,055 [88197229] WARN - llij.ide.plugins.PluginManager - NodeJS not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,056 [88197230] WARN - llij.ide.plugins.PluginManager - Karma not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,056 [88197230] WARN - llij.ide.plugins.PluginManager - Phing not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,056 [88197230] WARN - llij.ide.plugins.PluginManager - ScalaMock Template not loaded: since build 191.7141 > PS-191.6183.95
2019-05-30 10:14:56,056 [88197230] WARN - llij.ide.plugins.PluginManager - SnippMe not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:14:56,056 [88197230] WARN - llij.ide.plugins.PluginManager - Kubernetes not loaded: since build 191.6707 > PS-191.6183.95
2019-05-30 10:15:55,974 [88257148] INFO - .script.IdeScriptEngineManager - javax.script.ScriptEngineManager initialized in 281 ms
2019-05-30 10:16:28,863 [88290037] WARN - gin.utils.ProfilingUtilAdapter - YourKit controller initialization failed : To profile application, you should run it with the profiler agent
2019-05-30 10:16:33,627 [88294801] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 55 ms

Docker/laradock Config file content:

Main .env file (partial)

###########################################################
###################### General Setup ######################
###########################################################

# The local path to the folder containing the drupal files
DRUPAL_FILES_PATH_SRC=/Users/jcogan/Development/Sites/white-label-drupal/drupal-files

# Where should the files be located within the workspace container
DRUPAL_FILES_PATH_TGT=/var/www/sites/default/files

### Paths #################################################

# Point to the path of your applications code on your host
APP_CODE_PATH_HOST=/Users/jcogan/Development/Sites/white-label-drupal/generic
#APP_CODE_PATH_HOST=../

# Point to where the `APP_CODE_PATH_HOST` should be in the container
APP_CODE_PATH_CONTAINER=/var/www

# You may add flags to the path `:cached`, `:delegated`. When using Docker Sync add `:nocopy`
APP_CODE_CONTAINER_FLAG=:cached

# Choose storage path on your machine. For all storage systems
DATA_PATH_HOST=~/.laradock/data

### Drivers ################################################

# All volumes driver
VOLUMES_DRIVER=local

# All Networks driver
NETWORKS_DRIVER=bridge

### Docker compose files ##################################

# Select which docker-compose files to include. If using docker-sync append `:docker-compose.sync.yml` at the end
COMPOSE_FILE=docker-compose.yml

# Change the separator from : to ; on Windows
COMPOSE_PATH_SEPARATOR=:

# Define the prefix of container names. This is useful if you have multiple projects that use laradock to have seperate containers per project.
COMPOSE_PROJECT_NAME=laradock

### PHP Version ###########################################

# Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM). Accepted values: 7.3 - 7.2 - 7.1 - 7.0 - 5.6
PHP_VERSION=7.2

### Phalcon Version ###########################################

# Select a Phalcon version of the Workspace and PHP-FPM containers (Does not apply to HHVM). Accepted values: 3.4.0+
PHALCON_VERSION=3.4.1

### PHP Interpreter #######################################

# Select the PHP Interpreter. Accepted values: hhvm - php-fpm
PHP_INTERPRETER=php-fpm

### Docker Host IP ########################################

# Enter your Docker Host IP (will be appended to /etc/hosts). Default is `10.0.75.1`
DOCKER_HOST_IP=10.0.75.1

### Remote Interpreter ####################################

# Choose a Remote Interpreter entry matching name. Default is `laradock`
PHP_IDE_CONFIG=serverName=laradock

### Windows Path ##########################################

# A fix for Windows users, to ensure the application path works
COMPOSE_CONVERT_WINDOWS_PATHS=1

### Environment ###########################################

# If you need to change the sources (i.e. to China), set CHANGE_SOURCE to true
CHANGE_SOURCE=false

### Docker Sync ###########################################

# If you are using Docker Sync. For `osx` use 'native_osx', for `windows` use 'unison', for `linux` docker-sync is not required
DOCKER_SYNC_STRATEGY=native_osx
###########################################################
################ Containers Customization #################
###########################################################

### WORKSPACE #############################################
WORKSPACE_INSTALL_XDEBUG=true
WORKSPACE_INSTALL_PHPDBG=false
### PHP_FPM ###############################################
PHP_FPM_INSTALL_XDEBUG=true
PHP_FPM_INSTALL_XHPROF=false
PHP_FPM_INSTALL_PHPDBG=false
### NGINX #################################################

NGINX_HOST_HTTP_PORT=81
NGINX_HOST_HTTPS_PORT=444
NGINX_HOST_LOG_PATH=./logs/nginx/
NGINX_SITES_PATH=./nginx/sites/
NGINX_PHP_UPSTREAM_CONTAINER=php-fpm
NGINX_PHP_UPSTREAM_PORT=9000
NGINX_SSL_PATH=./nginx/ssl/

laradock/workspace/xdebug.ini

; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini)

xdebug.remote_host=dockerhost
xdebug.remote_connect_back=1
xdebug.remote_port=9000
xdebug.idekey=PHPSTORM

xdebug.remote_autostart=0
xdebug.remote_enable=1
xdebug.cli_color=0
xdebug.profiler_enable=1
xdebug.profiler_output_dir="~/xdebug/phpstorm/tmp/profiling"

xdebug.remote_handler=dbgp
xdebug.remote_mode=req

xdebug.var_display_max_children=-1
xdebug.var_display_max_data=-1
xdebug.var_display_max_depth=-1

laradock/php-fpm/xdebug.ini

; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini)

xdebug.remote_host=dockerhost
xdebug.remote_connect_back=1
xdebug.remote_port=9000
xdebug.idekey=PHPSTORM

xdebug.remote_autostart=0
xdebug.remote_enable=1
xdebug.cli_color=0
xdebug.profiler_enable=1
xdebug.profiler_output_dir="~/xdebug/phpstorm/tmp/profiling"

xdebug.remote_handler=dbgp
xdebug.remote_mode=req

xdebug.var_display_max_children=-1
xdebug.var_display_max_data=-1
xdebug.var_display_max_depth=-1
4 comments
Comment actions Permalink

Please enable xdebug logging: https://intellij-support.jetbrains.com/hc/en-us/articles/206544819-How-to-collect-remote-log-for-XDebug

 

Try debugging again & upload somewhere the idea.log file & xdebug log file

0
Comment actions Permalink

Hi Dmitry

I have attached the logs as requested, many thanks.

Idealog : https://www.dropbox.com/s/qit48131harls7l/idea.log?dl=0

xDebug log: https://www.dropbox.com/s/kn0bblvog85gpus/xdebug.log?dl=0

John

0
Comment actions Permalink

Dmitry, I have managed to get this working.

The trick was in the xdebug.ini settings for the php-fpm container

 

I note them here for other peoples reference

 

xdebug.remote_host=host.docker.internal
xdebug.remote_connect_back=0
xdebug.remote_port=9000
xdebug.idekey=PHPSTORM

xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.cli_color=0
xdebug.profiler_enable=0
xdebug.profiler_output_dir="~/xdebug/phpstorm/tmp/profiling"

xdebug.remote_handler=dbgp
xdebug.remote_mode=req

xdebug.var_display_max_children=-1
xdebug.var_display_max_data=-1
xdebug.var_display_max_depth=-1
0
Comment actions Permalink

The PHP-FPM docker container also had to be rebuild and then the web service restarted as per:

docker-compose build php-fpm

and then

docker-compose up -d nginx mariadb

0

Please sign in to leave a comment.