update src and add plugin debugger