markbates / refresh

MIT License
191 stars 30 forks source link

Add config parameter 'debug_flags' to specify the flags passed to delve. #22

Closed ajcollins closed 6 years ago

ajcollins commented 6 years ago

Mark,

Whilst trying to setup GoLand debugging, it seemed there wasn't an easy way to specify the arguments to pass to delve to setup the debugging port etc.

This PR adds that parameter, and enables buffalo dev --debug to easily be connected for debugging in the IDE. Requires a small template change in buffalo to make the feature obvious, for which I'll submit a separate merge request.

Best wishes,

Alex

ajcollins commented 6 years ago

Turns out that my earlier failure to make command_flags do this was a mistake on my part. Closing as unnecessary - sorry for the noise.