1
0
mirror of https://github.com/beego/bee.git synced 2025-07-14 18:21:02 +00:00

解决更改go-dlve包后方法参数问题

This commit is contained in:
Jeremy-boo
2020-05-22 17:03:51 +08:00
parent 820d1327b4
commit c9f97525c7

View File

@ -152,7 +152,7 @@ func startDelveDebugger(addr string, ch chan int) int {
APIVersion: 2,
WorkingDir: ".",
ProcessArgs: []string{abs},
}, false)
})
if err := server.Run(); err != nil {
beeLogger.Log.Fatalf("Could not start debugger server: %v", err)
}
@ -182,7 +182,7 @@ func startDelveDebugger(addr string, ch chan int) int {
}
// Stop and kill the debugger server once user quits the REPL
if err := server.Stop(true); err != nil {
if err := server.Stop(); err != nil {
beeLogger.Log.Fatalf("Could not stop Delve server: %v", err)
}
return status