Search code examples
flutterimpeller

How to disable impeller during development?


When I am developing an application with flutter with version 3.27.1 it slows down the application too much and sometimes lead to crashes as I am using the impeller render engine, and when I use flutter run --no-enable-impeller it solve the problem, so how to disable the impeller during the development of my project on vs Code but without the need to run on the CMD, and I want to know is this will affect the release version of the project?


Solution

  • to disable impeller on vs-code, add --no-enable-impeller to the .vscode/launch.json

    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "app_name",
                "request": "launch",
                "type": "dart",
                "toolArgs": [
                    "--no-enable-impeller"
    
                ]
            },
            ....
        ]
    

    }