diff --git a/Core/AppRuntime/Source/AppRuntime_V8.cpp b/Core/AppRuntime/Source/AppRuntime_V8.cpp index 789e1dfd..513f7530 100644 --- a/Core/AppRuntime/Source/AppRuntime_V8.cpp +++ b/Core/AppRuntime/Source/AppRuntime_V8.cpp @@ -66,7 +66,10 @@ namespace Babylon void AppRuntime::RunEnvironmentTier(const char* executablePath) { // Create the isolate. - Module& module = Module::Initialize(executablePath); +#ifdef ENABLE_V8_INSPECTOR + Module& module = +#endif + Module::Initialize(executablePath); v8::Isolate::CreateParams create_params; create_params.array_buffer_allocator = v8::ArrayBuffer::Allocator::NewDefaultAllocator(); v8::Isolate* isolate = v8::Isolate::New(create_params);