chainer.
set_debug
Set the debug mode.
Note
This method changes global state. When you use this method on multi-threading environment, it may affects other threads.