Scotland leaving the UK may well be economically detrimental for the same reasons as the Uk leaving the EU was.
rUK is almost certainly Scotland’s biggest trading partner and almost certainly would be following any independence.
It’s going to be difficult to have a foot in each of two mutually incompatible trading blocs so it would be Former UK or EU, not both, very likely.
There would necessarily be barriers to trade between rUK and Scotland that currently aren’t there that would be a deadweight cost to both economies.
That’s not to say Indy is bad, but there will be costs.
Although the downside of remaining in the UK was increased massively by Brexit, the downside of leaving has probably increased by more.