-
Notifications
You must be signed in to change notification settings - Fork 24
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
how to run/debug a monorepo project? #193
Comments
@fnicastri where is your pubspec.yaml? |
here:
Somehow I managed to make it work adding projectile projects in the main root and in the main app. Is it the right solution? |
Nothing, I had to reset my config (did some damage) and now I can't debug it anymore.
For some reason even if I open directly the @ericdallo Any clue? |
I see, so it's something only related to debugging. THe current work directory (cwd) is set here, so one thing you can debug in your project is |
@ericdallo I've made a small project to reproduce the issue, you can find it here: fnicastri/flutter_monorepo_test.git The project works perfectly in VSCode but not in Emacs, I'm facing three different issues:
Thanks for the support! |
Thanks for the repro, I can take a look later in the weekend, but if lsp-dart is not recognizing as a flutter project, that's probably a problem, it should detect using lsp-dart-utils functions that is a valid Flutter project, not a Dart one |
Thank you! I'm Sorry I can't help more but for now my elisp skills are almost zero, for now... ;) |
trying to make my current project work with Emacs I've simplified the structure moving everything inside a single app project, not the best solution but this project is not very big so I can do that. With much surprise lsp-dart or dap-dart still think my project is a dart project and not Flutter, spitting out
Everything works in VSCode Any clue? |
hum, it could be related with your flutter instalation so, how you installed flutter? |
@ericdallo I noticed in launch.json that VSCode use type I think this could be one of the reasons why the test project (created with vscode) refuse to run. |
Hi,
I'm trying to setup doom emacs to develop a flutter app.
The project is structured as a monorepo, meaning that the main
application is located in a subfolder of the monorepo root.
ex:
I managed to edit the dap template (but not save it!?!?) but anyway
when I try to run or debug the app I get an error message:
Any idea how I can configure it?
Thanks
The text was updated successfully, but these errors were encountered: