Atmel-ICE in Arduino IDE?

I'm searching all over the place and can't seem to get anywhere.
I'm trying to use my ATMEL-ICE debugger/programmer in the Arduino IDE and have gone through loads of other forums and this one.
In the IDE (Latest Version 1.8.15) I can select the ATMEL-ICE (AVR) as my programmer, but am never shown a port to select and so Arduino is unable to actually see the device.

I've used Zadig to change the DAP and Gateway drivers in every possible permutation of libusbk and libusb0 with no luck - Arduino IDE never shows any ports available for selection.

Does the ATMEL-ICE function with the Arduino IDE, and if so, what is the proper way to configure Windows 10 drivers and the IDE itself to enable this?

The Arduino IDE has no hardware debug capability.

I shouldn't have said debugging - I purely want to flash my target AVR MCU using the ATMEL-ICE programmer in the Arduino IDE.

The Arduino IDE displays "Atmel-ICE (AVR)" as an available programming device in the Arduino IDE.

This is currently not working.

What is the proper way to configure the Arduino IDE and Windows 10 drivers to achieve what I described above?

The Atmel-ICE is a USB device, it does not present a COM port interface.

Okay yes sure it's a USB device.

The Arduino IDE displays "Atmel-ICE (AVR)" as an available programming device in the Arduino IDE.
What is the proper way to configure the Arduino IDE to flash an AVR device using the selectable Atmel-ICE (AVR) programmer?

  1. Open the sketch you want to flash in the Arduino IDE.
  2. Select the target board from the Arduino IDE's Tools > Board menu.
  3. Select Tools > Programmer > Atmel-ICE (AVR) from the Arduino IDE's menus.
  4. Select Sketch > Upload Using Programmer from the Arduino IDE's menus.

The sketch will now be compiled and flashed to the target "board".

Thank you for providing an actually constructive response in this thread!
To be clear, no Port selection is necessary in the Arduino IDE when using the Atmel-ICE (AVR) programming option?

You're welcome.

That's correct. Any port selection will be completely ignored while doing an "Upload Using Programmer" (or a "Burn Bootloader") with the "Atmel-ICE (AVR)" programmer because its uploader commands don't make use of the serial port selection. The avrdude uploader tool is able to communicate directly with the programmer via USB.

It works - thank you!

Reply #4 did answer it.