To aid with debugging web page issues in Ladybird without needing to implement a fully fledged inspector, we can implement the Firefox DevTools protocol and use their DevTools. The protocol is described here: https://firefox-source-docs.mozilla.org/devtools/backend/protocol.html This commit contains just enough to connect to Ladybird from a DevTools client.
22 lines
333 B
C++
22 lines
333 B
C++
/*
|
|
* Copyright (c) 2025, Tim Flynn <trflynn89@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace DevTools {
|
|
|
|
class Actor;
|
|
class Connection;
|
|
class DeviceActor;
|
|
class DevToolsDelegate;
|
|
class DevToolsServer;
|
|
class PreferenceActor;
|
|
class ProcessActor;
|
|
class RootActor;
|
|
|
|
struct ProcessDescription;
|
|
|
|
}
|