backport deadlock fix when recovering from stub-ast mismatch
WEB-11810 Node.js debugging doesn't work

JsonOptionalField is also marker to generate nullable reader
(cherry picked from commit 0b22926)
console LineSeparatorPainter — remove from editor markup model, but not from document
(cherry picked from commit 70107c7)