To allow users of the automation API use debugging events, add them as
types.
I couldn't find an easy way to add tests for this, without running
things under a debugger, which is tricky in tests. If anyone has a good
idea please lmk.
Fixes https://github.com/pulumi/pulumi/issues/17210