How to get the LMS Debug variable (for real this time!)

I do not know what just happened, but something did.

This is the correct pull request that shows how to get the LMS debug variable (or any variable for that matter) into a different module. I have used this method myself multiple times.