简体   繁体   English

Sencha touch - 调试框架?

[英]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? 如何在调试版中以chrome格式预览我的sencha touch应用程序,以便我在sencha框架中发现的所有错误都不是指代相同的大量代码?

IE sencha-touch-all.js:21 IE sencha-touch-all.js:21

When you build application use 'testing' target. 构建应用程序时使用“测试”目标。

sencha app build production vs sencha app build testing 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. 不确定Architect如何处理它,但我很确定它在下面调用相同的脚本/程序。

To build the app locally using sencha command, type 要使用sencha命令在本地构建应用程序,请键入

sencha app build testing This will create a minified file of app in the folder named testing sencha app build testing这将在名为testing的文件夹中创建一个缩小的app文件

To run the app on browser, type Sencha web start 要在浏览器上运行应用程序,请键入Sencha web start

A port number would be given where you can view in browser Eg: http://localhost:1841/build/testing/App 您可以在浏览器中查看端口号,例如: http:// localhost:1841 / build / testing / App

where 1841 is the port number given to you when you run the above commands 其中1841是运行上述命令时为您提供的端口号

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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