Skip to content
Snippets Groups Projects

Allow to set breakpoints in crawler definitions

Open Alexander Schlemmer requested to merge f-simple-breakpoint into dev
Files
2
@@ -348,6 +348,12 @@ def scanner(items: list[StructureElement],
if (converter.typecheck(element) and (
restricted_path is None or element.name == restricted_path[0])
and converter.match(element) is not None):
# Set a breakpoint that opens pydb if "breakpoint" is defined for this converter
# and set to a true value:
if ("breakpoint" in converter.definition and
bool(converter.definition["breakpoint"])):
breakpoint()
path_found = True
general_store_copy = general_store.create_scoped_copy()
record_store_copy = record_store.create_scoped_copy()
Loading