diff --git a/AK/Debug.h.in b/AK/Debug.h.in index b6c0c125c6..39315df5e6 100644 --- a/AK/Debug.h.in +++ b/AK/Debug.h.in @@ -238,6 +238,10 @@ #cmakedefine01 JS_BYTECODE_DEBUG #endif +#ifndef JS_MODULE_DEBUG +#cmakedefine01 JS_MODULE_DEBUG +#endif + #ifndef KEYBOARD_SHORTCUTS_DEBUG #cmakedefine01 KEYBOARD_SHORTCUTS_DEBUG #endif diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake index c71f3dc0c5..93d4ea06c9 100644 --- a/Meta/CMake/all_the_debug_macros.cmake +++ b/Meta/CMake/all_the_debug_macros.cmake @@ -95,6 +95,7 @@ set(ITEM_RECTS_DEBUG ON) set(JOB_DEBUG ON) set(JPG_DEBUG ON) set(JS_BYTECODE_DEBUG ON) +set(JS_MODULE_DEBUG ON) set(KEYBOARD_DEBUG ON) set(KEYBOARD_SHORTCUTS_DEBUG ON) set(KMALLOC_DEBUG ON)