- Go to Edit Configurations under the Run menu
- Create a new Attach to Node.js/Chrome configuration
- Choose a port, e.g. 5858
- Save & close
- Go to your local.settings.json
- Add the following:
{
...
"Values": {
{
...
"Values": {
git submodule update --init --recursive |
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<parent> | |
<!-- your parent pom --> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<name>myproject-${option1}</name> |
Vagrant.configure("2") do |config| | |
(1..3).each do |i| | |
config.vm.define "node-#{i}" do |node| | |
node.vm.box = "ubuntu/trusty64" | |
node.vm.network "private_network", ip: "192.168.25.#{i}", auto_config: false | |
node.vm.provision "shell", inline: "echo hello from node #{i}" | |
end | |
end | |