Domanda

I see that we can download the debug versions of the js sharepoint libs. https://static.sharepointonline.com/bld/_layouts/15/16.0.19925.12013/core.debug.js

Since running them from Sharepoint online is not feasible as in hosted sharepoint. I have been trying to find the source maps for it so I can load them in VS code for debugging. Anyone knows where I can find them? Or is that possible with SP online? any workarounds?

Thank you.

È stato utile?

Soluzione 2

for the ones wondering. A possible workaround for this and for any other sites that have huge minified files you can enable by default the files to be pretty printed.

please check the steps in the below link. https://stackoverflow.com/questions/24371293/chrome-dev-tools-can-i-always-have-pretty-print-enabled

For the sourcemaps, If anyone know anything about it please let me know.

Thank you.

Altri suggerimenti

You could format the js file so it will be rendered friendly in IE developer tool(and debug), Chrome has similar feature.

enter image description here

enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top