vesalinearwindow - set debug funcioo