Debugging console feature is given only in eng/userdebug build types it is disabled in user mode build.
to debug in user mode we need a console . it can enabled by modifying the file
build/make/core/main.mk
ifeq ($(user_variant),user)
ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1
endif
ifeq ($(user_variant),userdebug)
# Pick up some extra useful tools
tags_to_install += debug
else
# Disable debugging in plain user builds.
enable_target_debugging :=
endif
there @ bold text append string true