Add option to debug if end user wants (#17)

* Add option to debug if end user wants

Added option for NGROK_DEBUG variable just incase someone wants the standard layout instead

* Modified as -n was not working properly

* Update entrypoint.sh
This commit is contained in:
Sean Dietrich 2018-05-18 00:58:00 -07:00 committed by Werner Beroux
parent 7d91e97c9a
commit ce878ba0e0
1 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,9 @@ elif [ -n "$NGROK_USERNAME" ] || [ -n "$NGROK_PASSWORD" ]; then
fi
fi
if [ -n "$NGROK_DEBUG" ]; then
ARGS="$ARGS -log stdout"
fi
# Set the port.
if [ -z "$NGROK_PORT" ]; then