This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I've created a main class with a main method in a web application. I want to test/debug this particular class without deploying and launching my web application. "Run File" does excactly what it should, it runs the particular file. However, selecting "Debug File" (on the same file) deploys the web application to a server, and launches it. The main method is never even executed. Maven web application, Tomcat 8 server
Reproducible in maven, works ok in ant.
Fixed in web-main 207653e54af1.
Integrated into 'main-silver', will be available in build *201605170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/207653e54af1 User: Petr Hejl <phejl@netbeans.org> Log: #258827 - "Debug File" on main class deploys web application