invertase / dart_custom_lint

💡 Easily write powerful Dart & Flutter lint rules for your projects or for users of your packages.
https://pub.dev/packages/custom_lint
Apache License 2.0
288 stars 65 forks source link

custom_lint doesn't provide VM service URI for debugging #255

Closed BuyMyBeard closed 3 months ago

BuyMyBeard commented 5 months ago

Describe the bug When running dart run custom-lint --watch in terminal or looking in custom_lint.log, no VM service Uri is to be found to attach the Dart process of the custom_lint package.

image

Even though custom_lint in analysis_options.yaml is set to debug: true and verbose: true, only errors are outputted into the custom_lint.log file.

To Reproduce I tried setting up my own custom_lint package and another dart project depending

Here, I have added a sample project used to reproduce the issue. it depends on pyramid_lint, a custom_lint package that should be debuggable. sample.zip

Expected behavior image

rrousselGit commented 3 months ago

Should be fixed in 0.6.5