Skip to content

Commit ce4429e

Browse files
committed
Explicitly pass --no-track-widget-creation when disabled in settings
Fixes #2134.
1 parent 1cdc11b commit ce4429e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎src/debug/flutter_debug_impl.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,10 @@ export class FlutterDebugSession extends DartDebugSession {
159159
appArgs.push("--release");
160160
} else {
161161
// Debug mode
162-
if (this.flutterTrackWidgetCreation) {
162+
if (this.flutterTrackWidgetCreation)
163163
appArgs.push("--track-widget-creation");
164-
}
164+
else
165+
appArgs.push("--no-track-widget-creation");
165166
}
166167

167168
if (args.flutterPlatform && args.flutterPlatform !== "default") {

0 commit comments

Comments
 (0)