Browse Source
I useful feature for developers. This will enable a log to be created of everything that ran when executing a command. It uses the set command. When you run a command a file dev-debug.log is created and will output set -xpull/575/head
45 changed files with 285 additions and 1 deletions
@ -0,0 +1,13 @@ |
|||
#!/bin/bash |
|||
# LGSM fn_debug_dev function |
|||
# Author: Daniel Gibbs |
|||
# Website: http://gameservermanagers.com |
|||
lgsm_version="061115" |
|||
|
|||
if [ -f ".dev-debug" ]; then |
|||
rm .dev-debug |
|||
fn_printoknl "Disabled dev-debug" |
|||
else |
|||
date > .dev-debug |
|||
fn_printoknl "Enabled dev-debug" |
|||
fi |
Loading…
Reference in new issue