Because it is!
A fair assessment.
Ah, well here we can differ. Actually, it is generally fairly straight-forward to debug. Not always, its true, but mostly. Of course, it helps if JavaScript library authors build in sufficient error handling and logging. Hopefully you will find that UIBUILDER is pretty good on that front. Not least because, I am not a "professional developer" and UIBUILDER is now around 15,000 lines of code (that covers both the Node-RED side which is by far the larger, and the client side which is much simpler). So no way I can always remember things. Logging is critical. And UIBUILDER has it in spades.
I get it, I've been messing on and off with web development on a personal front since the 1990's and I absolutely don't pretend to be an expert.
HOWEVER, that is the premise on which I built UIBUILDER in the first place! I try to deal with the messy parts so you don't have to.
When using UIBUILDER, the amount of any code you need to write is minimised without locking you into one specific way of working or a specific framework. This is really important to me. Frameworks come and go, but vanilla HTML, CSS and JavaScript are unlikely to ever go away and, even more critically, they do their darndest to remain backwards compatible - unlike many (most?) frameworks. This is also true of Node-RED itself by the way, one of the reasons I'm still using it after over a decade.
So, my advice, for what it is worth, is ignore all the noise you see on YouTube and elsewhere - those folk are often focussed on the latest "thing" and unpacking the darker, more complex parts of the web. But, for the most part, very few people ever need to get into that. And the basics are easy.
I liken it to learning to play the guitar. It is a really approachable instrument if you just pick it up and have a go. But, mastering it is a whole different ball-game. But most people who play guitar don't need to master it! The Beatles became famous knowing only a few chords!
To create a web page only requires a really basic, simplistic set of knowledge. UIBUILDER has already laid out that basic template for you. Take 10 minutes to get familiar with that template and you will soon be shocked at what you can do.
By the way, I count it as one of the best things I every did, as my career progressed into information enterprise architecture, was knowing how to knock up something in HTML/CSS/JavaScript. Amazing how you can impress people with a nice looking (but simple under the skin) web page. 
Coupled with Node-RED and some simple HTML and UIBUILDER, you can build custom data-driven web pages in minutes.