Skip to content

Commit 359d23a

Browse files
committed
updated documentation about DEVELOPMENT flag
Signed-off-by: BlackEagle <[email protected]>
1 parent 9d26bb5 commit 359d23a

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ SYMFONYVERSION=3
5757
BASEHOST=application.dev
5858
MYSQL_ROOT_PASSWORD=toor
5959
APPLICATION=../application
60-
DEVELOPMENT=noprofile
60+
DEVELOPMENT=1
6161
WINDOW_MANAGER=tmux
6262
~~~
6363

@@ -97,12 +97,13 @@ A relative or absolute path to your application code.
9797

9898
### DEVELOPMENT
9999

100-
Set the development flag. Default we use noprofile which will allow us to use
101-
xdebug. When `DEVELOPMENT=1` you also have tideways enabled which gives you
102-
profiling output of you application.
100+
There is the `DEVELOPMENT` environment variable wich will enable xdebug,
101+
composer and enable timestamp checking in opcache.
103102

104-
To visualize your profiling output see
105-
[docker-compose-xhgui](https://github.com/BlackIkeEagle/docker-compose-xhgui)
103+
When `DEVELOPMENT` is enabled xdebug should work out of the box. When you have
104+
issues - like while running docker for mac - you can set the extra environment
105+
variable `XDEBUG_CONFIG` with your hosts ip in it so xdebug can properly
106+
connect back.
106107

107108
### WINDOW_MANAGER
108109
Set the default window manager when running the environment.

docker-compose-dinghy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
environment:
2727
- C_UID=${C_UID:-1000}
2828
- C_GID=${G_UID:-1000}
29-
- DEVELOPMENT=${DEVELOPMENT:-noprofile}
29+
- DEVELOPMENT=${DEVELOPMENT:-1}
3030
volumes:
3131
- ${APPLICATION:-../application}:/phpapp
3232
links:

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
environment:
2424
- C_UID=${C_UID:-1000}
2525
- C_GID=${G_UID:-1000}
26-
- DEVELOPMENT=${DEVELOPMENT:-noprofile}
26+
- DEVELOPMENT=${DEVELOPMENT:-1}
2727
volumes:
2828
- ${APPLICATION:-../application}:/phpapp
2929
links:

0 commit comments

Comments
 (0)