Dev support. * js/mingw-open-in-gdb: mingw: add a helper function to attach GDB to the current process