Meaning “to an extreme degree,” this saying crept into American English slang in the 19th century, first used differently in “Legends of a Log Cabin,” by Chandler Robbins Gilman, 1835, page 198:
Where did that phrase come from - Interesting as all get out