Here is my personal favorite compilation of go-to links to learn and debug my pine scripts:

I'm an active member of the Pinecoders community on TradingView. I'm mentioned on their page as a TOP author and I learned a lot of cool concepts from those Pinescript mofos