Etymology
Today it means: By way of digression. Full definition →
From digressing + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.