Developer Environment with Vagrant, Docker and Ansible
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dev-environment-vagrant/README_VSCODE.md

30 lines
1.2 KiB

# dev-environment-vagrant
Developer Environment with Vagrant, Docker and Ansible
## Remote Development with VSCode
Connect to your VM via VSCode for MacOSx you hit `commannd + shift + P`, select "Remote-SSH: Connecto to Host":
![image](https://user-images.githubusercontent.com/567298/174472060-09699a90-a017-45e2-ba83-1872d0c0ea19.png)
Then we select our VM name, in my case "sektor":
![image](https://user-images.githubusercontent.com/567298/174472130-f52c4666-6b2d-4041-80a5-55bf6ca0d7c6.png)
Once it establishes a connection we will be on our VM:
![image](https://user-images.githubusercontent.com/567298/174472198-74c7348d-b154-4311-80a3-572338767ae0.png)
Select the "Explorer" on the left, navigate to the "project" folder:
![image](https://user-images.githubusercontent.com/567298/174472366-0cedc35e-be12-4600-94b4-925e7de391c4.png)
Then select "ok", then you should your project inside the vm:
![image](https://user-images.githubusercontent.com/567298/174472455-c82c18b0-f0be-4701-aee7-c1292c252a0b.png)
Open up a new terminal, from "Terminal -> New Terminal" at the top, and you should see:
![image](https://user-images.githubusercontent.com/567298/174472501-140e6d7a-96c6-48cc-84ec-00a805c8362a.png)