cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How disable/enable Component-preload

former_member666258
Participant
6,059

Hello community, i need to debugg but i can't be casue the component-preload is loaded, how can i disable thsi file ???

This is my structure: but i don't know wich file i need to change

i tried to change resources.json

{ "name": "Component-preload.js", "merged": false },

and deleting the component-preload but is generated again and change to true my change after i deploy the app

any idea ?

Accepted Solutions (1)

Accepted Solutions (1)

maheshpalavalli
Active Contributor

It's good that it is being generated, it improves the performance by many folds, if you want to debug it just use the below command, then u can skip the component preload file loading and direct load the actual files

Check the below answer

https://answers.sap.com/questions/686865/can-chrome-debugger-use-custom--dbgjs-files-from-s.html

Answers (1)

Answers (1)

Sharathmg
Active Contributor

Component-preload is generated as part of the build. But, it does not stop your debug.

The files are still loaded but in concise form. Your breakpoints still work. Also use the option to beautify the minified file in chrome debugger to get full view of controller files.