Arduino leonardo Serial Write to Visual studio ?

also just found out (don't know if it helpful) that the TX light on the board doesn't light up when it is supposed to send something (println). But when I make another sketch and just loop println("test") it also doesn't do that unless i open the serial monitor ??!