RootCommand.PersistentFlags().StringVarP(&Addr,"listen","l","localhost:0","Debugging server listen address.")
RootCommand.PersistentFlags().BoolVarP(&Log,"log","",false,"Enable debugging server logging.")
RootCommand.PersistentFlags().StringVarP(&Log,"log","","false",`Comma separated list of components that should produce debug output, possible values:
debugger Log debugger commands
gdbwire Log connection to gdbserial backend
lldbout Copy output from debugserver/lldb to standard output
`)
RootCommand.PersistentFlags().BoolVarP(&Headless,"headless","",false,"Run debug server only, in headless mode.")
RootCommand.PersistentFlags().BoolVarP(&AcceptMulti,"accept-multiclient","",false,"Allows a headless server to accept multiple client connections. Note that the server API is not reentrant and clients will have to coordinate.")
RootCommand.PersistentFlags().IntVar(&APIVersion,"api-version",1,"Selects API version when headless.")