I have an app Flutter (Windows 11) that makes changes to the registry (regedit) and for that it needs administrator permissions. How do I grant these permissions to debug mode window?
Asked
Active
Viewed 114 times
1
-
maybe start your IDE with admin rights? – Csaba Mihaly Jan 19 '23 at 20:25
-
Does not work. But when I go to the debug folder and run it as administrator, the .exe works, but I lose the debug, because this way it is not connected directly to vscode. – Eduardo Vieira Jan 19 '23 at 21:39
-
1https://docs.flutter.dev/development/tools/devtools/cli try running the debugger from an elevated powershell – Csaba Mihaly Jan 19 '23 at 21:47
1 Answers
0
Workaround: Open Powershell as administrator, navigate to project folder and run flutter via: flutter run -d windows

Eduardo Vieira
- 55
- 3