Created
August 8, 2011 14:38
-
-
Save garethr/1131868 to your computer and use it in GitHub Desktop.
Vagrantfile with a debugger in, a useful way of interacting with the context
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant::Config.run do |config| | |
config.vm.define :web do |web_config| | |
require 'ruby-debug' | |
debugger | |
web_config.vm.box = "lucid32" | |
web_config.vm.forward_port("http", 80, 8080) | |
end | |
config.vm.define :db do |db_config| | |
db_config.vm.box = "lucid32" | |
db_config.vm.forward_port("db", 3306, 3306) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment