-
Notifications
You must be signed in to change notification settings - Fork 30.4k
Debugger not attaching in Flutter Web WASM #179156
Copy link
Copy link
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: debuggingDebugging, breakpoints, expression evaluationDebugging, breakpoints, expression evaluationc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttere: wasmIssues related to the wasm build of Flutter Web.Issues related to the wasm build of Flutter Web.e: web_skwasmSkwasm rendering backend for webSkwasm rendering backend for webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: debuggingDebugging, breakpoints, expression evaluationDebugging, breakpoints, expression evaluationc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttere: wasmIssues related to the wasm build of Flutter Web.Issues related to the wasm build of Flutter Web.e: web_skwasmSkwasm rendering backend for webSkwasm rendering backend for webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Steps to reproduce
I'm trying to debug a Flutter Web app compiled in WASM mode (using the
--wasmflag), but the debugger won't attach.When I remove the
--wasmflag, the debugger attaches correctly.I'm using WebStorm and debugging by pressing the Debug button (Shift + F9):
Steps to reproduce:
flutter create my_app)--wasmflagExpected results
The debugger should attach.
Actual results
The debugger won't attach.
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
With --wasm flag:
simplescreenrecorder-2025-11-26_18.14.18.mp4
Without --wasm flag:
simplescreenrecorder-2025-11-26_18.15.40.mp4
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output