Breakpoint whenever event invoked for the second time

How would I create a breakpoint to occur every time a remote event/signal is received for a number of times after the first invoke? Placing a breakpoint seems to only work once; after the function runs its course, the game continues. In other languages, there are sometimes built-in methods that can be called to create a breakpoint that would run, for example, every time a function is invoked.

Does this article answer your question Documentation - Roblox Creator Hub?

Thank you, I’ve already checked it though. I tried something similar to below, however once the condition was met and the breakpoint activated, my character disappeared and I wasn’t given the debugger options.

local count = 0
event.OnClientEvent:Connect( function()
	count += 1
	if count == 2 then
		print("Invoked for the second time. Breaking.") -- breakpoint is set on this line
	end
end)

I think it may be an issue with roblox’s debugger tools.