Added debugging to base.sh

Signed-off-by: Andrea Law <alaw@pivotallabs.com>