Skip to content

Remove --debug option from datasette serve #814

@simonw

Description

@simonw

It doesn't appear to do anything useful at all:

datasette/datasette/cli.py

Lines 251 to 253 in f786033

@click.option(
"--debug", is_flag=True, help="Enable debug mode - useful for development"
)

datasette/datasette/cli.py

Lines 365 to 367 in f786033

kwargs = dict(
immutables=immutable,
cache_headers=not debug and not reload,

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions