You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --debug flag does not seem to work for dart2wasm either. That is probably the root cause of this
The Dart2Wasm compiler is only used for --profile / --release builds (just like Dart2JS). For iterative development the DDC compiler (which also compiles to JS) is used (or the VM's JIT). In the short term dart2wasm will not have a development compiler (with hot-restart / hot-reload).
That being said, one can use Dart2Wasm for profile/release builds and still enable assertions - via dart compile wasm --enable-asserts test.dart.
The following command runs code with assertions disabled, which means that it is not running in debug mode:
dart test -p chrome -c dart2wasm --debug
Unsure if this affects dart2wasm directly or the flag just isn't being passed
Related issues:
flutter/flutter#148850
The text was updated successfully, but these errors were encountered: