-
I am starting to work on this project and I have question - how to debug the codebase ? - I want to use JetBrains Goland and ideally I want to run the app with the ide in debug mode. I did not find too much info how to run it locally with minimal run. I am not golang expert (I com from the jvm world) so maybe it is not the golang way. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi rwadowski There is a quick method to play around with eKuiper locally. please refer following steps :
Reference: |
Beta Was this translation helpful? Give feedback.
-
Thanks @superrxan . I will add some tips about debugging in Goland. The general usage instruction can be found on GoLand help. Specific to eKuiper, you can debug with the same procedure. Just need to find out the entry program:
|
Beta Was this translation helpful? Give feedback.
Thanks @superrxan . I will add some tips about debugging in Goland. The general usage instruction can be found on GoLand help. Specific to eKuiper, you can debug with the same procedure. Just need to find out the entry program:
data
,plugins/sources
,plugins/functions
,plugins/sinks
, ,logs
are created in the eKuiper root path. Add your breakpoints. Opencmd/kuiperd/main.go
. In the main function, you'll find a green triangle in the ruler, click it and select debug. Then create your stream/rule that would run through your breakpoint, the debugger will pause there.