+1 for remote debug. It has always worked great with IntelliJ. I originally had full integration, starting NiFi from within the IDE, working a while back in May/June. But, I think bootstrap changes at some point broke it and with remote debug working so well I haven't felt a need to investigate it.
On Tue, Jan 5, 2016 at 3:29 PM, Matt Gilman <[email protected]> wrote: > Another alternative is to enable remote debugging in your NiFi instance and > simply attach to it with your IDE. More specifically, you'll want to > uncomment the following line in conf/bootstrap.conf > > > java.arg.debug=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 > > Then in your IDE you start a remote debugging session on localhost:8000. > Once it attaches, you should be able to hit breakpoints you have set in > your code. > > Matt > > On Tue, Jan 5, 2016 at 3:13 PM, Bryan Bende <[email protected]> wrote: > > > Hello, > > > > The nifi-ide-integration project will not have any src, it just generates > > the project files for Eclipse or IntelliJ (in your case the .iml, .ipr, > and > > .iws files). > > You will need to have the nifi source code somewhere else, and the > > remainder of the instructions here [1] explain how to link them together. > > > > -Bryan > > > > [1] https://github.com/olegz/nifi-ide-integration/blob/master/README.md > > > > On Tue, Jan 5, 2016 at 1:51 AM, [email protected] <[email protected]> > wrote: > > > > > > > > i want to debug nifi ,and i find the guidence in wiki.Then i use gradle > > > following https://github.com/olegz/nifi-ide-integration/. But after i > > > run the command "./gradlew clean idea" ,i just can not find any source > > in > > > the folder " > > > nifi-ide-integration > > > " Here is the total contents of my folder " > > > > > > .: > > > build.gradle gradle gradlew gradlew.bat nifi-ide-integration.iml > > > nifi-ide-integration.ipr nifi-ide-integration.iws README.md > > > settings.gradle src > > > > > > ./gradle: > > > wrapper > > > > > > ./gradle/wrapper: > > > gradle-wrapper.jar gradle-wrapper.properties > > > > > > ./src: > > > main > > > > > > ./src/main: > > > resources > > > > > > ./src/main/resources: > > > log4j.properties > > > > > > > > > " > > > Then how will i do if i want to debug nifi. > > > Thanks for your any reply. > > > > > > > > > [email protected] > > > > > >
