Are those enhanced input actions? If they you set those actions to trigger on debug keys, that’s an expected result. Though if they are enhanced input actions, place Print String nodes that will print different words (or have different colors) after those input actions’s “triggered” pins respectively. If you don’t see them both getting printed out on the top left of your screen but rather only one, that could be a hardware limitation. Most likely because you’re not using a gaming keyboard.
This might be a pretty rough way to go about it, but I believe there is a node for “wait key released” you could use this and a timer to decide witch action to activate. Alternatively EIA has settings for combo and chain input action sequences, you could play around with those to achieve your desired result