I was using 1.26.10. So I was executing
jQuery.sap.debug(true)
But When I do the same for library 1.40.7. It is not loading any dbg files
I was using 1.26.10. So I was executing
jQuery.sap.debug(true)
But When I do the same for library 1.40.7. It is not loading any dbg files
Share Improve this question asked Oct 12, 2016 at 9:25 Prashant GuravPrashant Gurav 5037 silver badges17 bronze badges4 Answers
Reset to default 5Hit CtrlAltShiftS to open UI5 Diagnostics. There you can expand the panel "Technical Information" and switch on the Option "Debug Sources".
See the official docu for this: https://help.sap./saphelp_uiaddon20/helpdata/en/c9/b0f8cca852443f9b8d3bf8ba5626ab/content.htm
just add in the URL sap-ui-debug=true
as query string ?....&...
CtrlAltShiftS and use Technical Information → Debug Sources is basically correct but there is one restriction which might prevents this.
The UI5 application needs to be initialized with productive: false
Check in your index.html
if the productive
parameter of sap-ui-config
is set to true
and change it temporarily to false
:
<script>
window["sap-ui-config"] = { "productive": false };
</script>
As others pointed out, adding the query parameter sap-ui-debug=true
in the URL would enable debug mode.
Adding ui5 namespace of your UI5 application in the query in place of the boolean true
would only load files for that namespace to debug making page load faster. example: for namespace foo.bar
, the query param should be sap-ui-debug=foo/bar