How to debug and output to the console inside the function
GeorgeDB

console.log('test'); // this I see
window.function = function (text) {
console.log('test2'); // this I don't
return text.value?.length;
}

You are viewing a single comment. View All
SixBeeps

It works fine for me. Gotta actually call the function for it to do anything.