Could this be related? https://developer.apple.com/forums/thread/804340
Are you trying to do this on localhost (or some other http site, as opposed to an https site?)
If so, I'm running into the same problem (over two years later). I can use the web inspector for HTTPS sites in the simulator, and console.log works. I cannot use it for HTTP sites in the simulator; console.log doesn't print anything at all.
Definitely used to work, though. Maybe it's because I was using an older simulator for a while.
Topic:
Safari & Web
SubTopic:
General
Tags: