I am not being able to debug my Flutter Web App. There is an error in the debug console and the webpage won't load up in my browser.
I tried removing spaces and disabling windows firewall but it is still not working.
I expect the webpage to load up but nothing happens and I am shown this error in my debug console.
Registering build targets...
Starting initial build...
Serving DevTools at http://127.0.0.1:49831
Starting resource servers...
Serving `web` on http://localhost:49821
CreateProcessW failed 2
Exited (1)
In my case that happened because I have no Chrome browser installed on my PC. According to bug details I found that defining
CHROME_EXECUTABLEenvironment variable with a full path to your web browser executable solves the problem.