Using Firefox and the built-in developer tools makes it easy to develop Web applications, and Mozilla now offers Firefox OS simulator, which can then be installed to run debugging directly into the Firefox OS environment.
The Firefox OS virtual machine is an extension that runs in the Firefox nightly development version.
The first step is to install the Firefox nightly beta. http://nightly.mozilla.org/visit here to download. Nightly is a daily developer of the latest source-compiled version, of course, a daily update, with the latest features, and the most bugs.
Attention! The nightly version will default to your current Firefox share profile. You can refer to this http://mozilla.com.cn/post/21647/to create a different configuration document, run your current Firefox and nightly Firefox independently.
Then visit Mozilla hacks on the Firefox OS Simulator (r2d2b2g) introduction page via nightly, and you can read the Xpi file corresponding to the operating system you are currently using from the end of the article. Windows Maclinux (32bit)
After downloading, drag into Firefox installation (or click on the link to start the installation directly in nightly).
After installation, Firefox OS Simulator can be found in the developer tools.
Then start it now!
After you start, you can play the Firefox OS on your computer!
If you have a project to debug in Firefoxos, you can directly through the dashboard input box, add the project URL or development directory, then restart the simulator can see the project in Firefoxos, run debugging it!