Skip to content

Commit

Permalink
global: deprecation of custom remote debugger
Browse files Browse the repository at this point in the history
* NOTE Deprecates custom remote debuggers. Please use native Werkzeug
  debugger or other (*)pdb equivalents.  (addresses inveniosoftware#2945)

Signed-off-by: Jiri Kuncar <[email protected]>
  • Loading branch information
jirikuncar committed Mar 26, 2015
1 parent 7e2f696 commit aa56559
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion invenio/utils/remote_debugger/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is part of Invenio.
# Copyright (C) 2011, 2013 CERN.
# Copyright (C) 2011, 2013, 2015 CERN.
#
# Invenio is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
Expand All @@ -21,6 +21,13 @@
that makes remote debugging possible and easy.
"""

import warnings

from invenio.utils.deprecation import RemovedInInvenio21Warning

warnings.warn("Remote debugger is going to be removed. "
"Please use native Werkzeug debugger.",
RemovedInInvenio21Warning)


# Debug mode is activated by passing debug=[debugger_id] in the url, when
Expand Down

0 comments on commit aa56559

Please sign in to comment.