Here's a couple of previous threads about the SVB's. If you search on it you will find tons written here about them, because they are the worst scourge in the garden.
https://www.helpfulgardener.com/forum/vi ... hp?t=44778
https://www.helpfulgardener.com/forum/vi ... hp?t=25636
https://www.helpfulgardener.com/forum/vi ... hp?t=28475
You can look for the eggs. Squash vine borer eggs are laid singly on the stem near the base. As soon as the larvae hatch, they burrow into the stem:

https://1.bp.blogspot.com/_2m3wGnWBkAk/S ... eggs+2.jpg
If you find orange-ish eggs laid in clusters on the under side of leaves, they are squash bugs, another virulent squash pest:
https://4.bp.blogspot.com/_Yr8fuc0mJEo/T ... gsmall.JPG