move debug setting to start-debug.sh