You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by run_psw <ru...@aliyun.com.INVALID> on 2018/06/28 02:10:14 UTC

Help: Can someone give me a more detail tutorial for debug nifi

Hi there
 I want to be a contributor to NiFi, but i don't know how to debug NiFi from ide. can someone help me? My code will benefit to nifi


Re: Help: Can someone give me a more detail tutorial for debug nifi

Posted by Mike Thomsen <mi...@gmail.com>.
1. Import the whole source tree into your IDE as a project. That's
IDE-specific.
2. Compile the whole project with Maven.
3. Open bootstrap.conf in
nifi-assembly/target/nifi-1.X.0-SNAPSHOT/nifi-something/conf and uncomment
the line that has the reference to the Java debugger in it. I think the
prop name is java.debug in that file.
4. Start up NiFi with bin/nifi.sh
5. Have your IDE attach to the debugger that was specified in java.debug.


Thanks,

Mike

On Wed, Jun 27, 2018 at 10:11 PM run_psw <ru...@aliyun.com.invalid> wrote:

>
> Hi there
>  I want to be a contributor to NiFi, but i don't know how to debug NiFi
> from ide. can someone help me? My code will benefit to nifi
>
>