简体   繁体   中英

Sencha touch - debug framework?

How do I preview my sencha touch app in chrome in debug version so all my error coming from something in the sencha framework is not refering to the same huge line of code?

IE sencha-touch-all.js:21

When you build application use 'testing' target.

sencha app build production vs sencha app build testing

That if you build from command line. Not really sure how Architect handles that, but I'm pretty sure it calls same scripts/program underneath.

To build the app locally using sencha command, type

sencha app build testing This will create a minified file of app in the folder named testing

To run the app on browser, type Sencha web start

A port number would be given where you can view in browser Eg: http://localhost:1841/build/testing/App

where 1841 is the port number given to you when you run the above commands

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM