Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
If you need to generate the virtual machine memory dump, you can do this from Parallels Desktop. When the virtual machine is running, click the Develop menu in the macOS menu bar and choose Generate Core Dump. For more details on where the dump is stored and how to convert it to the Linux, Windows, or macOS format, please refer to the prlcore2dmp topic .
You can start a debugging session directly from Parallels Desktop. When the virtual machine is running, click the Develop menu in the macOS menu bar and choose Start Debugging Session.
Note: Parallels Desktop supports lldb as a debugging front end. It should be installed with the XCode command line tools or XCode, and you must accept the lldb license agreement.
The Parallels plugin for Visual Studio allows you to develop software in one virtual machine and test it in other virtual machines with just one click.
Warning: This functionality will be deprecated in Parallels Desktop 20.
To use this plugin, you need the following:
A Windows 7 (or later) virtual machine with Visual Studio Professional/Enterprise 2013 (or later).
Other running virtual machines (with Windows 7 or later) in which you will test the project.
The virtual machine with Visual Studio and other virtual machines must belong to the same pool of IP addresses or just be configured to use the shared network.
All virtual machines must have Parallels Tools installed.
The virtual machine with Visual Studio must have the Access Windows folders from Mac option selected.
Other virtual machines must have the Share Folders: All disks option selected.
The user accounts logged in to the virtual machines in which you're going to test your project must have both username and password, and you must know them.
To install the Parallels plugin, do the following:
In the virtual machine with Visual Studio, navigate to the directory where Parallels Tools are installed. For both Intel and Apple Silicon Macs, it is C:\Application Files\Parallels\Parallels Tools\DevTools
.
Double-click the VMDebugHelper(*version number*).vsix file. The plugin for Visual Studio will be installed automatically.
To start remote debugging of your project, follow these steps:
In the virtual machine where Visual Studio is installed, open Visual Studio and open your project.
Build the project and test it locally.
Click PARALLELS > Start Debugging in VM and select the virtual machine you need (this virtual machine must be running).
Your project will open in the selected virtual machine.
When you start a virtual machine operating in the or networking mode, and it gets an IP address assigned via DHCP, the virtual machine gets registered in the macOS etc/hosts file, and you can use its name to connect from the host operating system or other virtual machines operating in the or networking mode.
For example, after starting such a virtual machine, your etc/hosts file may look as follows:
You can use the virtual machine name (windows-11.shared) to connect to this virtual machine. For example, if you execute the following command in the macOS Terminal:
, you will start pinging 10.211.55.3.
When such a virtual machine is shut down, its registration entry is removed from the etc/hosts file.
If you're working with a virtual machine in the Window or Full-Screen view mode, you can easily and quickly change the virtual machine screen resolution. Simply click the View menu in the macOS menu bar, point to Set Resolution, and choose the screen resolution you need.
Note: Set Resolution requires virtual machines with Parallels Tools installed. The Show developer tools option must be enabled in the More Options pane of the virtual machine configuration.
If you're working with the virtual machine in Full Screen on multiple displays, the screen resolution is changed on the display where you selected a new resolution.
Nested virtualization implies running a virtual machine inside of another virtual machine.
Note: This functionality is only available on Intel Macs, provided that the host virtual machine is configured to use the Parallels Hypervisor.
To toggle between the Apple's and Parallels's hypervisors, do the following:
Open Parallels Desktop, right-click on the required virtual machine and choose Configure.
Switch to the Hardware tab and choose CPU & Memory from the list on the left.
Click Advanced, and use the Hypervisor drop-down menu to choose Parallels.
Check the Enable nested virtualization box.
Click OK.
When enabled, this functionality allows you to run:
Hyper-V virtual machines inside Windows 8, Windows 10, and Windows Server 2012 virtual machines;
VMware ESXi virtual machines;
Xen and kernel-based virtual machines in versions of Linux that support Xen and KVM.
Note: Nested virtualization may dramatically reduce the performance of both host macOS and virtual machines.
If you use Parallels virtual machines to build, debug, and test applications, enable nested virtualization to install and work in:
Android emulator for Visual Studio;
iPhone emulator for Visual Studio;
Xamarin.Android;
Android Studio;
Embarcadero RAD Studio;
Docker for Windows;
Microsoft Visual Studio + TwinCat 3 (support for TwinCat 3 is being tested, and there may be some bugs).
Both Arm and x86 versions support establishing a Serial port connection over TCP. Ports open on the host machine and do not depend on the guest VM's network settings.
Note: You can find more information about setting up a Serial port on a Parallels VM in the respective section of this guide.
Serial over TCP can be used for remote debugging of VMs. You will need to set up your VM as a Server if you want to debug it or as a Client if you want to use it to debug other machines. Begin by choosing New Socket from the Source drop-down menu and type in tcp://0.0.0.0:2020 for the Server role or tcp://127.0.0.1:2020 for the Client role. Use the Mode drop-down menu to choose the appropriate role. IPv6 is also supported, so you can set up the Server as tcp://[::]:2020 and the Client as tcp://[fe80::1023:163b:ef12:d40e%eth0]:2020.
When a virtual machine operating in the sends a DNS request, the request is now resolved also using the macOS etc/hosts file.
For example, if your macOS etc/hosts file contains the following entry:
and you start pinging testh in a virtual machine, the guest OS will check the macOS etc/hosts file first and start pinging 1.2.3.5.
Starting from Parallels Desktop 19, users of Pro and Business editions can run x86-64 binaries in Linux virtual machines on Mac computers powered by Apple Silicon. One of the most obvious benefits of this is the ability to run x86 Docker containers in Linux virtual machines.
Note: This functionality is powered by Apple's Rosetta code translation layer that allows running x86-64 code on Apple Silicon processors. It requires macOS Ventura 13 or newer as the host operating system. Known limitations include a lack of support for Snap Packages, potential cross-architecture dependency issues, and incomplete support for Red Hat/RHEL-based distributions.
To speed up the process, Parallels offers a ready-to-download, preconfigured Ubuntu 22.04.02 virtual machine with Rosetta set up, dependencies updated, and Docker ready to go.
To install it, open Control Center in Parallels Desktop > create a new virtual machine from the list of Free Systems and select Download Ubuntu with x86_64 emulation > click Continue to create and start the virtual machine.
You can now start using Docker in the Terminal immediately to create x86-64 containers, as the Docker command-line interface (CLI) is pre-installed in the appliance, or try installing software, provided it conforms to the limitations.
Note: For manual setup instructions and various troubleshooting scenarios, please refer to our KB article.
In software development, it may be beneficial to simulate various network conditions (low speeds, high packet loss, etc.) to see how your app behaves and eliminate potential sources of complaints. Parallels Desktop allows you to do just that by applying machine-specific connection profiles that mimic popular scenarios. To choose from a variety of preset options, do the following:
In Parallels Desktop Control Center, right-click on the required virtual machine and choose Configure.
Switch to the Hardware tab and choose Network from the list on the left.
Use the Profile drop-down menu to select one of the preset scenarios.
Alternatively, click on Configure to manually adjust speeds, pings, and packet loss percentages as required.