Commit ed46d0a1 authored by Noé Gaumont's avatar Noé Gaumont 🐙
Browse files

feat: allow debug mode to ease developpement

parent 1b2849529f91
......@@ -27,7 +27,12 @@ upgrade() {
case "$1" in
start)
bootstrap
exec uwsgi --ini /etc/uwsgi/uwsgi.ini
# check that DEBUG is set whatever the value (even blanc) with +x
if [ ! -z ${DEBUG+x} ]; then
exec cubicweb-ctl pyramid -D -l info $CW_INSTANCE
else
exec uwsgi --ini /etc/uwsgi/uwsgi.ini
fi
;;
upgrade)
shift
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment