-
Notifications
You must be signed in to change notification settings - Fork 14
Debug mode
yfakariya edited this page May 2, 2012
·
1 revision
Exposing debugging information like stack trace to client has risk from security perspective. Because stack trace is very useful, however, MessagePack RPC for CLI provides debug mode flag which allows to escalate exception information to clients.
To enable debug mode, set RpcServerConfiguration.IsDebugMode to true.
When debug mode is true, properties on throw exception are escalated to the client. These data will be restored to properties of RpcException on the client.
Note that there are no ways to tell clients error condition when message type is notification, so debug mode is only effective for request/response message type.