Rana Ranvijay Singh
Rana Ranvijay Singh

Reputation: 6165

Sencha Touch 2 : Webstorm Run configuration

I am new to Sencha Touch and working on Ubuntu. Till now i followed the instructions from the Sencha Doc and successfully installed Touch 2.2.1 and SenchaCmd.

I have created a sample project "MyApp" and its in the directory "/var/www/MyApp".
The sdk "touch 2.2.1" is in the same directory "/var/www/touch 2.2.1"
I am having problem running the code from Webstorm directly in the browser. Can anyone tell the configuration i need to make.

Upvotes: 1

Views: 751

Answers (1)

lena
lena

Reputation: 93848

  • Open your MyApp folder in Webstorm
  • create a new JavaScript Debug run configuration like the following:

    1. set URL to 'http://localhost/MyApp/index.html'
    2. in the 'Remote URLs of local files' field, click twice on 'Remote URL' filed of the topmost tree node (your project root), enter the following URL: 'http://localhost/MyApp'

that's all... Now on pressing Debug the start page of your application will be loaded into Chrome

Upvotes: 1

Related Questions