title: Remote debugging Java web app running in Glassfish
body: <p>I have a web application. It is currently deployed on a remote server in a Glassfish instance. Is it possible to remotely connect to the server and debug the application (like I would a normal java application) using Netbeans?</p>
  
  <p>If someone has done this and could provide insight or could point me to a guide, that would be great.</p>
  
  <p>I know this functionality exists with Visual Studio and ASP.Net. I was not sure if there is a java equivalent.</p>
  
  <p>Most examples that I have seen online are for applications that are simply running on a remote machine or for debugging a Glassfish application running on the local machine.</p>