Integration pdf.js and Blazor; Debugger on Visual studio is lost
Hi there,
i have a problem with the integration of blazor with pdf.js. Lately pdf.js (Developed by Mozilla) has change from .js to .mjs file. I upgraded to work with .mjs file but now i am encountering another problem. When i start the Visual Studio on debug mode, the breakpoints are working as expected but once i try to load the form where we initialized the pdf.js with the new type file (.mjs) it destroy the debugging and the breakpoints does not work anymore on every page, regardless where we are setting the breakpoint. The problem start when i wait for promise.
It shows this error
Now I do not understand if that is a problem of browser for mjs files (the code on .mjs files work perfect, I have tried with different browser and the same behavior.) i am not sure if this is a problem of blazor and mjs or of Visual studio.
Thank in advance if somebody can help me with this problem.
Unisign Dev Team