12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849(*************************************************************************)(* Copyright 2015-2019 MINES ParisTech -- Dual License LGPL 2.1+ / GPL3+ *)(* Copyright 2019-2024 Inria -- Dual License LGPL 2.1+ / GPL3+ *)(* Copyright 2024-2025 Emilio J. Gallego Arias -- LGPL 2.1+ / GPL3+ *)(* Copyright 2025 CNRS -- LGPL 2.1+ / GPL3+ *)(* Written by: Emilio J. Gallego Arias & coq-lsp contributors *)(*************************************************************************)(* This file controls what to trace, we need a better system. As of today, we
trace using LSP logging facilities, however this is not enough in two cases:
- logging of the raw protocol itself
- we don't have a way to filter what we log *)(* Enable all debug flags *)letall=false(* LSP trace flags are now controlled by an option that installs a logger, the
lsp_init flag should be removed *)letlsp=falseletlsp_init=false||all||lsp(* cache *)letcache=false||all(* Parsing (this is a bit expensive as it will call the printer *)letparsing=false||all(* scanning of prefix-incrementality *)letscan=false||all(* Backtraces *)letbacktraces=false||all(* Unicode conversion *)letunicode=false||all(* Sched wakeup *)letsched_wakeup=false||all(* Request event queue *)letrequest_delay=true||all(* Competion *)letcompletion=false||all(* Schedule *)letschedule=true||all