Skip to Content

SapUi5 application code is visible in debugging console and i need to disable debugging

If i run application using eclipse and debug in chrome i can see my code and debug and change value on command console.

If i run application directly from server then still i can change value on command console and debug and view my source code.

Security concerns are very important since some way or other way someone can change values on debug.

Is there any way to disable debugging tools on all browsers and secure ui5 applications.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 14, 2017 at 03:43 PM

    There is no option to disable debugging.....

    you can create 'Component-preload.js' using GRUNT/GULP which will compress and uglify JS, this way even the source code is loaded on browser it will be bit difficult

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 09 at 01:03 PM

    Try to add this code into index.html prior to calling the script for sap.ui.core

    <script>

    window["sap-ui-config"] = {

    resourceRoots : { "sap.ca.common.uilib": "resources/sap/ca/common/uilib/", "resources" : "resources/" },

    productive: true };

    </script>

    Add comment
    10|10000 characters needed characters exceeded