Skip to content

Instantly share code, notes, and snippets.

@mslinn
Created January 7, 2013 18:27
Show Gist options
  • Save mslinn/4477241 to your computer and use it in GitHub Desktop.
Save mslinn/4477241 to your computer and use it in GitHub Desktop.
Bash script to run play on port 9001 and debug via JPDA on port 9998. Note that if the debug parameter is provided JPDA port 9999 cannot be overridden. This script shows how its done.
#!/bin/bash
export JPDA_PORT=9998
export play21='/home/mslinn/work/experiments/scala/Play20/play'
$play21 "run 9001"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment