Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dartdev, --enable-vm-service and script arguments #42941

Closed
jensjoha opened this issue Aug 5, 2020 · 1 comment
Closed

dartdev, --enable-vm-service and script arguments #42941

jensjoha opened this issue Aug 5, 2020 · 1 comment
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool.

Comments

@jensjoha
Copy link
Contributor

jensjoha commented Aug 5, 2020

I tried running out/ReleaseX64/dart --enable-vm-service --enable-asserts pkg/front_end/tool/_fasta/compile.dart --omit-platform --target=none --dump-ir t.dart but dartdev told me Could not find an option named "omit-platform".

And no, dartdev probably doesn't know about that, but it isn't supposed to, it's an argument to the script I'm running. Namely I just added "--enable-vm-service" to the command line I was already running as I would like to start a debugging session. That's the way it used to work, and I haven't been told otherwise so I'd expect it to still be the case.

(Adding --disable_dart_dev solved my problem for now)

@a-siva a-siva added the area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. label Aug 6, 2020
@a-siva
Copy link
Contributor

a-siva commented Aug 6, 2020

/cc @bkonyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool.
Projects
None yet
Development

No branches or pull requests

2 participants