IDE problems


Anyone knows why I can’t get any kind of output in the IDE console? I’m trying to run my smartapp with virtual devices to see how it does, but I get gray virtual devices, I can change their state and nothing happens, not one single line of text in the console even though I have debug logging commands everywhere in the code…


I just noticed Google Chrome gives me the following errors in its console:
WebSocket is already in CLOSING or CLOSED state.

Try to exit out of code editor, uninstall the app (X) and try again.

Also, you might have an unreported error before the output you expect. Sometimes errors that appear in scheduled tasks are not printed in the console and the log gets screwy after that. Put trace messages every step of the way to see where your code fails.