I try to debug using weinre and set up a simple test in Chrome to make sure everything works. However, in the developer tools, I get an error message:
"The page at 'https://myhost/...' was loaded over HTTPS, but ran insecure content from 'http://localhost:8080/target/target-script-min.js': this content should also be loaded over HTTPS.
I saw some other answers regarding debugging Cordoba or Calling Card. I am not using any of these things, and the suggested answers do not seem to apply here. I am trying to debug simple HTML / Javascript.
I donโt see a mention on the weinre webpage about enabling https support (he explicitly mentions that he does not use https), and I donโt have much control over the browser side (this is necessary for working on various Android browsers, which I think are notorious for being completely unfriendly to local debugging, which is actually the reason I'm trying to debug using weinre), so I donโt understand how to do this. Do not use https, because the page transmits confidential information; using weinre over http is acceptable because I am tunneling the connection through ssh.
Update: I also tried using the boomarklet method: I added the bookmarklet URL to Chrome Mobile, but when I try to go to the bookmarklet, it unloads the original page: I see the connection, but when I look at the resources, all I see is what seems like a bookmarklet. But if I try to start the bookmarklet by typing the name of the bookmarklet until the javascript star code appears in autocomplete, it will remain on the current page, but no goals will appear on the client page. I assume this is for the same reason as I see that the bookmarklet refers to http://localhost:2000 .
source share