How to run in debug mode in Goland with railway run?

I'm really liking railway but realized I'm unable to run in debug I want to effectively run this command in debug mode in Goland: railway run go run main.go If it's not possible it's not clear to me how to easily pull the environment variables that railwayrun provides in a automatic way
6 Replies
Percy
Percy2y ago
Project ID: 40eaaee1-b56a-4f4b-90e2-95b8a087525c
VRBaller
VRBallerOP2y ago
40eaaee1-b56a-4f4b-90e2-95b8a087525c
Brody
Brody2y ago
Personally I do railway shell, then run my start commands, that way you don't need to pull the variables from railway every time you just wanna rebuild your app
VRBaller
VRBallerOP2y ago
does that work with intellijj / goland's debugger?
Brody
Brody2y ago
Don't know, never used either of them
VRBaller
VRBallerOP2y ago
This issue is specific to using the debugger in Intellij/goland
Want results from more Discord servers?
Add your server