Very simple WASM not loading

Hello, I’m just getting started with WASM module development. I created a very simple WASM module using Visual Studio 2019 and the MSFS 2024 SDK v1.7.3. I compiled it in Debug mode by following the procedure outlined in the SDK documentation.

Here’s my code (It doesn’t get any simpler than this)

const char* WASM_Name = "GBR_WASM_Module1";
const char* WASM_Version = "0.1.1";

extern "C" MSFS_CALLBACK void module_init(void)
{
// This is called when the module is initialized
HRESULT hr;
fprintf(stderr, "%s: Initializing WASM version [%s]", WASM_Name, WASM_Version);

// ... do some initialization

fprintf(stderr, "%s: Initialization completed", WASM_Name);

}

extern "C" MSFS_CALLBACK void module_deinit(void)
{
// This is called when the module is deinitialized
fprintf(stderr, "%s: De-initializing WASM version [%s]", WASM_Name, WASM_Version);

// ... do some de-initialization

fprintf(stderr, "%s: De-initialization completed", WASM_Name);

}

I created a directory in the Community folder named WASM_Module1, and I placed the WASM_Module1.wasm compilation file in a subfolder named modules. I created the layout.json as

[
  {
    "path": "modules/WASM_Module1.wasm",
    "size": 78655,
    "date": 134346473472176320
  }
]

and manifest.json as

{
  "content_type": "MISC",
  "title": "WASM_MODULE1",
  "creator": "TEST",
  "manufacturer": "",
  "package_version": "0.1.1",
  "minimum_game_version": "1.38.2",
  "dependencies": [],
  "release_notes": {
    "neutral": {
      "LastUpdate": "0.1.1 – Auto build at 2026-09-23 16:29:07",
      "OlderHistory": ""
    }
  },
  "total_package_size": "00000000000000078655"
}

(Those have been created by the tool found on flightsim.to).

I’m launching MSFS2024 with the -AllowDebugger option.

After starting and go to free flight , I don’t see my module in the WASM Debug window.

Did I miss something?

Can someone tell me how to load my module correctly?

And I Find nothing in the Console. Not so true, after some investigations, I found that :slight_smile:

Thanks. Best Regards.

but nothing the Wasm debug Windows except this

I see the module in My library, it is disabled and no button to enable it.

I Found the issue. I close the message.