- `VirtualBox-Wrapper.ps1` now takes 'up' or 'down' as opposed to a machine name. This allows start/stop of a virtualmachine. - `VirtualBox-Wrapper.ps1` now relies on a gitignored `localenv.json` to work. - `VirtualBox-Wrapper.ps1` can also optionally monitor the log file generated from the serial adapter in VirtualBox. - `readme.md` updated to provide instructions on how to populate the `localenv.json` file. - `tasks.json` updated to have a "Clean" task to --remove-orphans, the Build task depends on this. - `tasks.json` updated to have a "Close VirtualBox" task, this runs the `virtualbox-wrapper.ps1` in 'down' mode. The Build task depends on this. - `launch.json` updated to run the `VirtualBox-Wrapper.ps1` with the "-Command up" argument, instead of machine name. - .gitignore updated to ignore any instances of `localenv.json`.
13 lines
332 B
JSON
13 lines
332 B
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name":"Run",
|
|
"request": "launch",
|
|
"type": "PowerShell",
|
|
"preLaunchTask": "Build",
|
|
"script": "${workspaceFolder}/virtualbox-wrapper.ps1",
|
|
"args": ["-Command", "up"],
|
|
"cwd": "${workspaceFolder}",
|
|
}
|
|
]
|
|
} |