Skip to content

Allow --console to be an argument when packaging #2021

@doug-benn

Description

@doug-benn

Please Describe The Problem To Be Solved

Allow "--console" to be an optional argument when building to allow debugging packaged apps, defaults to no console

Not sure if needed but I used it the other day - needed to edit pack.py in my install

Suggest A Solution

pack.py

        parser.add_argument(
            "--debug-console",
            dest="debug-console",
            help="Show python console (Ensure correct DEBUG level)",
        )

...

        pyi_args = [options.script,  "--noconfirm"]
        if not options.debug_console:
            pyi_args.extend(["--noconsole"])

https://github.com/doug-benn/flet/commit/75eb3105a60c6171c0bcb0471559b765f7c1acac

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions