diff --git a/ReactCommon/hermes/inspector/chrome/cli/main.cpp b/ReactCommon/hermes/inspector/chrome/cli/main.cpp index 4795231afd9..1dbeb999595 100644 --- a/ReactCommon/hermes/inspector/chrome/cli/main.cpp +++ b/ReactCommon/hermes/inspector/chrome/cli/main.cpp @@ -213,7 +213,9 @@ static void runDebuggerLoop( static void runScript(const std::string &scriptSource, const std::string &url) { std::shared_ptr runtime( - fbhermes::makeHermesRuntime()); + fbhermes::makeHermesRuntime(::hermes::vm::RuntimeConfig::Builder() + .withEnableSampleProfiling(true) + .build())); auto adapter = std::make_unique(runtime); fbhermes::inspector::chrome::Connection conn(