Hi,
What the Ethernet test code you used? Does the MQX been included? And what the CW version you used for?
Write some code to dump/print all the Ethernet controller registers, or even better, every control register the chip has.
Run that when it is working on normal startup. Run it again when it is running under the debugger and not working.
Look for differences.
Tom