This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
fi
if [ "$restart" ] ; then
# remove debug options, since the debugger does not count with application restart
if [ "`echo $jargs | grep -- "-Xrunjdwp:[^ ]*server=n"`" ] ; then
jargs=`echo "$jargs" | sed 's/[^ ]*-Xdebug[^ ]*//'`
jargs=`echo "$jargs" | sed 's/[^ ]*-Xrunjdwp:[^ ]*server=n[^ ]*//'`
done
# and we exit.