Add console.dir snippet.