Client code debugging - cannot find script file

Hi Community,

Recently we used BPM Online 7.13, now when I try to debug (client debugging) using Chrome developer tools, I cant find any script lets say for example AccountPageV2.js the only thing listed on sources are css and image files. But compared to BPM Online 7.12, I can see all the scripts(most especially edit pages) when the form is open. Is there any configuration that needs to be turned on?

Like 0

Like

2 comments

Dear Fulgen, 

The reason you can't see these scripts is because bundling is turned on, it accelerates the system performance but makes it harder to debug. To turn it off you may send a letter to the support team of bpm online.

Best regards,

Dennis 

Hello Fulgen,

This is new in 7.13. You can turn on debug mode for the client and then you'll see the separate scripts instead of just the combined minified file. To turn on debug mode execute the following in the browser console: 

Terrasoft.SysSettings.postPersonalSysSettingsValue("IsDebug", true)

Refresh your browser and then you'll see the separate script files to debug. When you're done, be sure to turn debug mode back off again with the following:

Terrasoft.SysSettings.postPersonalSysSettingsValue("IsDebug", false)

Ryan

Show all comments