@@ -234,14 +234,16 @@ void PrintDebuggerReadyMessage(
234234 const std::string& host,
235235 const std::vector<InspectorSocketServer::ServerSocketPtr>& server_sockets,
236236 const std::vector<std::string>& ids,
237+ const std::string& verb,
237238 bool publish_uid_stderr,
238239 FILE* out) {
239240 if (!publish_uid_stderr || out == nullptr ) {
240241 return ;
241242 }
242243 for (const auto & server_socket : server_sockets) {
243244 for (const std::string& id : ids) {
244- fprintf (out, " Debugger listening on %s\n " ,
245+ fprintf (out, " Debugger %s on %s\n " ,
246+ verb.c_str (),
245247 FormatWsAddress (host, server_socket->port (), id, true ).c_str ());
246248 }
247249 }
@@ -300,6 +302,7 @@ void InspectorSocketServer::SessionTerminated(int session_id) {
300302 PrintDebuggerReadyMessage (host_,
301303 server_sockets_,
302304 delegate_->GetTargetIds (),
305+ " ending" ,
303306 inspect_publish_uid_.console ,
304307 out_);
305308 }
@@ -425,6 +428,7 @@ bool InspectorSocketServer::Start() {
425428 PrintDebuggerReadyMessage (host_,
426429 server_sockets_,
427430 delegate_->GetTargetIds (),
431+ " listening" ,
428432 inspect_publish_uid_.console ,
429433 out_);
430434 return true ;
0 commit comments