Skip to content

i want debug the write logic in goland, but not find any command in main, how to debug the it #429

Answered by suzaku
wenjin227 asked this question in Q&A
Discussion options

You must be logged in to vote

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 to mount localhost /path/to/jfs. Note that you can't use ~ in your IDE so you have to spell out the absolute path.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wenjin227
Comment options

Answer selected by Suave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants