Whether I set breakpoints directly on the source/console or add a debugger on my code, the browser doesn't seem to respond to them. Any ideas why? Here's my code:
if (select[i].placeholder != undefined && select[i].placeholder != '' ) {
selected.appendChild(document.createTextNode(select[i].placeholder)); debugger;
} else if (select[i].options[0].value == '' && select[i].options[0].textContent != '' ) {
selected.appendChild(document.createTextNode(select[i].placeholder));
} else {
selected.appendChild(document.createTextNode('Select an option'));
}



