...
For thread dumps and troubleshooting purposes, the debugger can invoke com.sun.management.Threads.virtualThreads() in the target VM to obtain a stream of Thread objects for the virtual threads. This can be used as stop-gap solution until there is better support for structured debugger in the debugging APIs.
...
JDI VirtualMachine defines supportVirtualThreads() to test if the target VM supports virtual threads.
The supportsVirtualThread boolean in the reply to the JDWP CapabilitiesNew command is the equivalent.
...
Overview
Content Tools
ThemeBuilder