* xdebug in workspace downgrading to 2.x version

* with profiler option in xdebug workspace starter script
This commit is contained in:
2022-02-03 19:10:36 +03:00
parent 5cf2889c55
commit 6743629602
2 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,7 @@
# NOTE: At the moment, this has only been confirmed to work with PHP 7
PHP_VERSION=$2 # Without dot
WITH_PROFILER=$3
# Grab full name of workspace container
WORKSPACE_CONTAINER=$(docker ps | grep workspace${PHP_VERSION} | awk '{print $1}')
@ -12,6 +13,10 @@ if [[ -z "${WORKSPACE_CONTAINER}" ]]; then
exit 1
fi
if [[ ! -z "${WITH_PROFILER}" ]]; then
echo "With profiler option".
fi
xdebug_status ()
{
echo 'xDebug status'