Debugging Javascript plugins
Posted: Wed May 15, 2024 6:31 pm
Good day, we're using the Oxygen Web XML Editor embedded into our web application, version 25.1, using the WAR distribution along with tomcat 9.0.88
We have a number of internally developed plugins and frameworks, 3 of which are Java based but our main UI and actions plugin is Javascript based. We compile our JS one to the /web/plugin.js file and are using the plugin.redirect file. We want to be able to debug our javascript code (specifically in VS Code). We are already able to debug the Java based code through the remote debugger like you would with Intellij or Eclipse.
If possible can we have some guidance about UI / plugin development best practices and how to debug this code? Of course we are able to use Browser debugging tools but in IDE breakpoints are preferred for our use case.
Our goals are to use react and other component packages to develop things like custom modals/pop ups, menus, etcetera.
Thanks!
We have a number of internally developed plugins and frameworks, 3 of which are Java based but our main UI and actions plugin is Javascript based. We compile our JS one to the /web/plugin.js file and are using the plugin.redirect file. We want to be able to debug our javascript code (specifically in VS Code). We are already able to debug the Java based code through the remote debugger like you would with Intellij or Eclipse.
If possible can we have some guidance about UI / plugin development best practices and how to debug this code? Of course we are able to use Browser debugging tools but in IDE breakpoints are preferred for our use case.
Our goals are to use react and other component packages to develop things like custom modals/pop ups, menus, etcetera.
Thanks!