How to manually add your Web App to the cloud
Originally we stubbornly only accept the WebApp Manifest URL, but now you just need to enter the Web app URL, you can directly add your Web app to the cloud. You can also try to open the Web App directly. Such as:
See your Debugid
In the new version of the Cloud (Android is ready to download, IOS is waiting for review, do not know if this can be too ...) ), we have added a developer option.
Select developer Options, then choose Debug Web App, then you can see the prompt and your debugid,debugid on Action Bar. Such as:
Let ' s ROCK
Once you know Debugid, you can access debug.tinydust.cn with desktop Chrome or Safari and enter debugid for remote debugging. Of course, you'll need to open the Web App you want to debug on the cloud's debug page. Such as:
Enter, then you can start the remote debugging.
By the way, in the remote debugging Console, you can directly invoke the many APIs provided by the cloud. For example, if I want to open my phone's camera now, I can enter it directly in the Console:
navigator.camera.getPicture();
Effects such as:
For more APIs, click here
What's going on generating debugid
When you come to debug the Web App interface in the cloud, we generate a random 6-digit number for you as your debugid.
Generating Script
We will then generate a JavaScript script for you based on Debugid, which will communicate with the server based on this debugid. The entire communication process is not based on WebSocket, but the old XHR.
Thanks to Weinre
This is due to our use of Apache weinre in order to provide this service as quickly as possible, and to simplify many of these processes. In the future, we will make more improvements and play the advantages of cloud + END as the HTML5 operating environment.
FAQs Do I need to register a developer account with you?
No need, anyone can adjust, direct tune, OH also. (But you'll have to start with a cloud. Hey hey)
Does the support not support localhost?
Part of the support, this is because you add directly http://localhost:foo/bar is possible, but your phone and computer must be able to access the external network to debug.
Can I set a JavaScript breakpoint
Because we are currently based on Weinre to do a Proof of Concept quickly. So for the time being there is no JavaScript breakpoint, but there must be, rest assured.
Mihtool dumped you a few streets.
Mihtool is really great and is one of the most powerful tools available for mobile debugging at the moment, with more features than the current cloud-gathering debugs. I (no "guys" here) talked to the big God before deciding to do it, and he encouraged us to do it. Although the IPad is large, I think it's still too small for debugging, and gesture manipulation is not as accurate as a mouse. And more importantly, the cloud itself is a relatively new browser, it is also for the general consumer. When you are debugging, the cloud is presented by the general user when they are in use.
Mobile Web debugging has never been easier