After designing a device or extension on mBlock 5 Extension Builder, you can debug it in one of the following ways:
- On the web
- Mobile app
- Download the extension as an
.mextfile on mBlock 5 Extension Builder.
- Drag the
.mextfile to the mBlock 5 client on a PC.
- Restart the mBlock 5 client.
You can start to test the extension.
- Each timer after you drag an
.mextfile to mBlock 5, you can restore the extension to the latest online version by clicking the download button in the upper right corner of the extension icon.
For example, after dragging the mBuild extension to mBlock 5, you can click to restore the latest online version.
- For details about how to delete a local extension, see “16. Local extensions can’t be upgraded or deleted. What can I do?“
On the web
1. Publish the extension you have developed on mBlock 5 Extension Builder.
2. Enter the test environment and sign in with the account (usually an account for testing) you have used to publish the extension.
3. Refresh the browser.
You can see the extension and start to test it.
Note: It is suggested that you use an account different from the one you use to develop the extension for testing to prevent unexpected changes.
Currently, tests on mobile apps are not available to users.