Add beginCapture/endCapture API.
Change parentheses to non-capturing.
Remobe debug log.
Refine CI config.