import hug


@hug.get()
def hello(request):
    """Says hello"""
    import pdb; pdb.set_trace()
    return 'Hello World!'

import hug


@hug.get()
def hello(request):
    """Says hello"""
    return 'Hello World!'

Remove accidentally added pdb