我有一个Index.html,其代码如下:
> if (configfile == 'config/all')
>
> {
> //alert ('comeconfig == ALL');
> //alert ('configfile ' + configfile + ' -- strpathfile : ' + strpathfile);
> //var temp_adji = checkfileimg_js (strpathfile);
> //alert (' temp ' + temp_ + ' --- pathfile : ' + strpathfile);
>
> //cek if file "*_imagery" exist ?
> //ImgStatus set from GetUserImageryPrivileges
> //checkfileimg_js : cek if file *_imagery present.
> if (ImgStatus && checkfileimg_js(strpathfile)) {
> alert (' Entrying ImgStatus && checkfileimg_js(strpathfile)');
> require(['viewer/Controller', configfile + '_imagery'], function(Controller, config){
> Controller.startup(config);
> });
> }
> else
> {
> alert (' controller.startup(notauth) Hellow NOAUTH ');
> require(['viewer/Controller', 'config/all'], function(Controller, notauth)
> {
> alert ('Come in REQUIRE');
> Controller.startup(notauth);
> //Controller.startup(viewerv134);
> });
> }
> }
> else //IF configfile <> ALL (env,pims,clear dll)
>
> { Some Codes }
我怎么知道这一行“ Controller.startup(notauth);”被执行?在哪里可以检查Chrome调试器?
谢谢