-
i want debug the write logic in goland, but not find any command in main, how to debug the it |
Beta Was this translation helpful? Give feedback.
Answered by
suzaku
May 21, 2021
Replies: 1 comment 1 reply
-
It's easy to debug a Go program with GoLand. Please refer to the document here. What you need to do to debug a command like |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Suave
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's easy to debug a Go program with GoLand. Please refer to the document here.
What you need to do to debug a command like
./juicefs mount localhost ~/jfs
is to modify the run configuration and set the program arguments tomount localhost /path/to/jfs
. Note that you can't use~
in your IDE so you have to spell out the absolute path.