You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Bill Graham (JIRA)" <ji...@apache.org> on 2012/08/10 00:01:19 UTC

[jira] [Updated] (PIG-2851) Add flag to ant to run with a debugger port

     [ https://issues.apache.org/jira/browse/PIG-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Graham updated PIG-2851:
-----------------------------

    Attachment: PIG-2851.2.patch

This is an updated path with merged changes from trunk. Committing now.
                
> Add flag to ant to run with a debugger port
> -------------------------------------------
>
>                 Key: PIG-2851
>                 URL: https://issues.apache.org/jira/browse/PIG-2851
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Bill Graham
>            Assignee: Bill Graham
>         Attachments: PIG-2851.1.patch, PIG-2851.2.patch
>
>
> Sometimes it's helpful to start up {{ant test}} with a debug port enabled. Let's add a flag {{debugPort=[port\]}} to allow this. For example:
> {noformat}
> ant test -DdebugPort=5000 -Dtestcase=TestFoo
> {noformat}
> would run the test case and wait for a debugger client to connect to port 5000 before continuing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira