add console.log and Y.log snippets