debugger: Add some code for testing ctor in plugin

Change-Id: I0c35549804befc8aed034e35c9cce24f57e41337
Reviewed-by: hjk <hjk121@nokiamail.com>