- Created a PowerShell script `virtualbox-wrapper.ps1` to wrap calls to vboxmanage and only exit once the virtual machine has been terminated. - Updated launch.json to use the PowerShell launch type to launch `virtualbox-wrapper.ps1` with the machine name supplied as an argument. - Updated `readme.md` to reflect these changes.
13 lines
370 B
JSON
13 lines
370 B
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name":"Run",
|
|
"request": "launch",
|
|
"type": "PowerShell",
|
|
"preLaunchTask": "Build",
|
|
"script": "${workspaceFolder}/virtualbox-wrapper.ps1",
|
|
"args": ["-MachineName", "7d395c96-891c-4139-b77d-9b6b144b0b93"],
|
|
"cwd": "${workspaceFolder}",
|
|
}
|
|
]
|
|
} |