Etymology
Today it means: In a tormented manner. Full definition →
From tormented + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.