Debug TextArea HTML Javascript in Chrome

html:
<div id='textAreaUrl'>---</div>

js:
$('#textAreaUrl').text(top.location)

Copy paste the url onto Chrome and start debugging with Developer Tools (F12)