Anyone knows how to setup local portal development environment using eclipse or intellij for debugging purpose
What application do you need to debug, for example, portal bean portlet, jsr porlet or secondary pag? You can set up Eclipse as a dev environment with Tomcat. Once configured, you can test jsp directly in Eclipse. Does it answer your question?
Check this link (http://blogs.eteration.com/blog/?p=116) this should help you setup you local development environment
If you do decide to use Eclipse, there is an Eclipse Plug-in for OpenText Portal that you might find useful. It is available for download from the Extension Library section under Portal Develper Network on Knowledge Center. OpenText Knowledge Center > All Communities > OpenText Developer Network > Library > OpenText Portal > Extension Library > Eclipse Plug-in Eclipse Plug-In
Here's what's included in the Vignette Portlet Development Plug-in for Ecplise.
It appears to still work with the latest versions of Portal and Eclipse. That said, it could stand to be updated. For example, the sample JSR-168 portlet (template) could be updated to JSR-286.