Dart code doesn't run in vs code with this error: Setting VM flags failed: Unrecognized flags: enable-asserts

72 views Asked by At

I have started to learn dart, when I try to run dart code in vs code, I get the error saying that "Setting VM flags failed: Unrecognized flags: enable-asserts", I got the same error in IntelliJ. I use a Manjaro Linux desktop and have no problem when running code in terminal. Any idea?

I can't find a solution!

0

There are 0 answers