[wasm][debugger] Detect initial status of pause on exceptions. (#54040)
* Detect initial status of pause on exceptions.
* Changing what @radical suggested.
* Changing more things.
* Test case created.
I could not test the pause on "all" exceptions because if I enable the pause on caught exceptions and reload the page it will stop in a lot of exceptions other then the one that I inserted in AttachToTarget.
* Adding a test for Reload page with ALL set.
* Fixing merge conflicts.
* setting icordebug = false.
* Removing unrelated change.