2014-12-29 113 views
0

我試圖配置Webstorm在調試模式下使用chrome擴展jetbrains IDE支持。 我想這個程序https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/poa/index.htmlWebstorm調試不起作用

我下載SDK https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/poa/index.html開始,我採取\test-resources\sap\m\demokit\poa文件夾和webstorm通過導入「從現有文件新建項目...」,然後我選擇的這個方案enter image description here

我在Chrome中安裝了jetbrains IDE支持插件。現在,如果我運行index.html全部工作正常! 但是,如果我調試我有這個結果的文件...: enter image description here

這是我的索引:

<!DOCTYPE html> 
<html> 
<head> 
    <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 
    <meta charset="UTF-8"> 

    <title>UI5 Boilerplate</title> 

    <!-- UI5 Bootstrap with OpenUI5 --> 
    <script id="sap-ui-bootstrap" 
      type="text/javascript" 
      src="resources/openui/sap-ui-core-dbg.js" 
      data-sap-ui-theme="sap_bluecrystal" 
      data-sap-ui-xx-bindingSyntax="complex" 
      data-sap-ui-libs="sap.m" 
      data-sap-ui-resourceroots='{ 
      "ui5bp": "./", 
      "model": "./model" 
      }' 
     > 
    </script> 


    <!-- Custom Styles --> 
    <link rel="stylesheet" type="text/css" href="css/style.css" /> 

    <script> 

     new sap.m.Shell("Shell", { 
      showLogout : false, 
      app : new sap.ui.core.ComponentContainer({ 
       name : 'ui5bp' 
      }), 
      homeIcon : { 
       'phone' : 'img/57_iPhone_Desktop_Launch.png', 
       '[email protected]' : 'img/114_iPhone-Retina_Web_Clip.png', 
       'tablet' : 'img/72_iPad_Desktop_Launch.png', 
       '[email protected]' : 'img/144_iPad_Retina_Web_Clip.png', 
       'favicon' : 'img/favicon.ico', 
       'precomposed': false 
      } 
     }).placeAt('root'); 
    </script> 
</head> 

<body class="sapUiBody" id="root"> 
</body> 

</html> 

,這是Webstorm控制檯輸出磨片的頁面顯示來自我「等待本地主機...「:

2014-12-30 14:50:16 Device API logging initialized - DEVICE 
2014-12-30 14:50:16 SAP Logger started. - 
2014-12-30 14:50:16 registerResourcePath ('', 'resources/openui/') - sap.ui.ModuleSystem 
2014-12-30 14:50:16 registerResourcePath ('ui5bp', './') - sap.ui.ModuleSystem 
2014-12-30 14:50:16 registerResourcePath ('model', './model/') - sap.ui.ModuleSystem 
2014-12-30 14:50:16 URL prefixes set to: - sap.ui.ModuleSystem 
2014-12-30 14:50:16 (default) : resources/openui/ - sap.ui.ModuleSystem 
2014-12-30 14:50:16 'ui5bp' : ./ - sap.ui.ModuleSystem 
2014-12-30 14:50:16 'model' : ./model/ - sap.ui.ModuleSystem 

我在哪裏錯了?

+0

在家裏這個程序工作正常,但在工作中我有這個問題.. – padibro

回答

1

現在工作正常!我設置此選項: enter image description here