Thanks for reporting this, you were absolutely right. Enumeration types share some internal runtime machinery with classes, but the debugger was losing the information that distinguishes them.
This is now fixed for the next release. Enumerations will be labelled as “Enumeration” and placed in their own Enumerations group rather than appearing under Classes. I also corrected the equivalent classification for interfaces.
The fix covers both local and remote debugging.
https://feedback.objo.dev/bug/787