diff --git a/src/inspector_socket_server.cc b/src/inspector_socket_server.cc index 75311fd3cc44e91ae97f253c291c23eeb4aea9ca..264e7b0c00bf7a6ee3bbba24bbb4ba18496c23db 100644 --- a/src/inspector_socket_server.cc +++ b/src/inspector_socket_server.cc @@ -392,6 +392,8 @@ std::string InspectorSocketServer::GetFrontendURL(bool is_compat, std::ostringstream frontend_url; frontend_url << "devtools://devtools/bundled/"; frontend_url << (is_compat ? "inspector" : "js_app"); + // We disabled experimental features in DevTools by removing "experiments=true&" + // to avoid failure in loading pretty JS code. frontend_url << ".html?v8only=true&ws="; frontend_url << formatted_address; return frontend_url.str();