SetDebugName
Description
Sets the debug name.
You should keep a reference to the string as else this might be corrupted.
So store it somewhere, where the garbage collector won't delete it.
This is because internally, it sets the pointer of the debug name to the lua string, instead of copying over the actual string.