Gambling and debt were quite rampant in the 18th century. But no one really cared. That is, until they ended up in debtor's prison. Debtor's prison was like banking overdraw fees: you don't have any money left so we will charge you for it. One of the biggest debtor's prisons was Fleet Prison, and it was a money-making machine.
Prisons such as Fleet, worked differently than our contemporary prison. First of all, whole families would live there with their imprisoned head-of-the-household. They could also come and go as they pleased...as long as they paid the turnkey. In fact, the prisoners had to pay for everything: food and lodging, to get out of shackles, etc. If you were lucky enough to be given living quarters with window-access to the street you could beg money from passers-by. Fleet even had a grille built in to a wall so it was easier for prisoners to beg. I'm sure Londoners knew to avoid going down Farrigdon Street to escape the pleas for alms. Like our modern-prisons, Fleet had an exercise yard called the racquet ground, so prisoners and their families could get some fresh air.
Although, more freedoms were allowed in these prisons compared to what we have today, debtor's prison was no holiday in the sun. The living conditions were sub par at best, the company was not always good, and staying there did not necessarily get you out of debt. As soon as prisoners were able to get released, their first stop was the gaming table. Stays in prison just taught debtors not to get caught next time!