Add console log

Add console log to debug