mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-18 01:16:31 +00:00
20b7c3f9b8
Adds initial support for the Debug Adapter Protocol (DAP) to SpiderMonkey via debugger.js. This JavaScript-based implementation enables external debuggers (e.g., VS Code) to interact with the JS runtime using the DAP interface. Implemented DAP requests and events: - attach - initialize (capabilities) - stopped event - threads - scopes - variables (globalThis pending) - continue - stepIn - stepOut - setBreakpoints - Handling of debugger statements This forms the foundation for interactive debugging of in-game scripts, providing smoother integration with developer tools.