cancel
Showing results for 
Search instead for 
Did you mean: 

SAP UI5 - Switch Debugging off(CTRL+SHIFT+ALT+S)

sunil_khemchand2
Participant
0 Kudos

Hello Colleagues,

I have created few SAPUI5 applications in WebIDE using List Report template. And I would like to disable debugging tool(CTRL+SHIFT+ALT+S) . I actually found this document https://archive.sap.com/discussions/thread/3525041 on scn which talks about setting window["sap-ui-config"].productive = true during bootstrapping SAPUI5, before loading sap-ui-core.js from your index.html file.

Since I do not have index.html file, I was wondering how/where do I set this flag. Also, is there a way to set this flag at System level rather than at application level?

Any help highly appreciated.

Thanks

Sunil

Accepted Solutions (0)

Answers (1)

Answers (1)

ThorstenHoefer
Active Contributor

Maybe you can add a event listener "keydown" in the init method of component.js

like this?

window.addEventListener('keydown', function(oEvent){  
  if(oEvent.altKey && oEvent.shiftKey && oEvent.ctrlKey && oEvent.keyCode === ???)
    oEvent.preventDefault()
  });