EventNotification eventResponse = response.asEventNotification();
if (eventResponse == null) {
// Currently only events are supported.
return;
}
String commandString = eventResponse.event();
DebuggerCommand command = DebuggerCommand.forString(commandString);
if (command == null) {
LOGGER.log(Level.WARNING,
"Unknown command in V8 debugger reply JSON: {0}", commandString);
return;