On all the linux systems I used, when mouse cursor is hidden/grabbed by a program that froze (ie. because I set a breakpoint in it), it just won't ungrab is (unlike windows) unless I remember a set or arcane commands (and have a terminal running at that moment, or remember how to start one with only keyboard).
So what I did before in LWJGL2, was use "evaluate expression" option in my IDE, and ran "Mouse.setGrabbed(false)" in it.
The LWJGL3 equivalent of that appears to be "GLFW.glfwSetInputMode(windowId, GLFW.GLFW_CURSOR, GLFW.GLFW_CURSOR_NORMAL)".
Except that it just doesn't do anything when invoked from "evaluate expression". How can I do that in LWJGL3?