The Mac IDE isn’t fully compatible with Catalina’s Dark Mode. (I think the cursor actually is there, it’s just white on a white background.)
If you deactivate Dark Mode you should be able to see the cursor again. If you’re not using Dark Mode… then I don’t know what’s going on!
Here’s a post with more details from user Ryan Veeder, whom I consider something of an expert on the subject.