apache / apache/netbeans

Ability to debug with Ant script

Open
#4,546 0 comments 0 reactions 0 assignees View on GitHub
kind:feature needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

I've got a somewhat unusual setup for some specific reasons. Without getting into the reasons, I have:

1. my own build system (for a large Java app)
2. an Ant driver for my build system

Since I have the Ant driver, I can run my build system through NetBeans just fine. However, here is the problem. When I want to debug the program, I go through two steps:

a. run the Ant target that (causes my build system) to deploy the app and start tomcat

b. I manually attach to the correct debug port through NetBeans

After that, I can debug just fine. So here is my question.

It would be nice to have a button that:

A. runs a pre-defined Ant target
B. waits a few seconds for tomcat to semi-start
C. attach to the debug port

### Use case/motivation

_No response_

### Related issues

_No response_

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the existing Ant target execution and manual debugger-attach workflows in NetBeans, then determine how a single action could coordinate them. Done means an action can run a predefined Ant target, allow startup time, and attach to the requested debug port.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.