Debugging JSPs in a JSP Fragment Module
Debugging JSPs in a JSP Fragment Module
If you're working on a JSP Fragment module, you'll probably want to debug all these endless scriptlets on the JSP you're trying to customize. By default, debug is not working for them (IntelliJ IDEA), but, fortunately, it's easy to make it work - just add the following lines to the bnd.bnd file of your module:
Enjoy 😏
-jsp: *.jsp,*.jspf -metatype: * -plugin.jsp: com.liferay.ant.bnd.jsp.JspAnalyzerPlugin -plugin.resourcebundle: com.liferay.ant.bnd.resource.bundle.ResourceBundleLoaderAnalyzerPlugin -plugin.sass: com.liferay.ant.bnd.sass.SassAnalyzerPlugin -sass: *
Enjoy 😏
Comments
Post a Comment