mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-24 19:56:38 +00:00
14 lines
334 B
Bash
14 lines
334 B
Bash
#!/usr/bin/env sh
|
|
#
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
#
|
|
|
|
case "$1" in
|
|
--inspect*) INSPECT="$1"; shift;;
|
|
esac
|
|
|
|
function realpath() { python -c "import os,sys; print(os.path.realpath(sys.argv[1]))" "$0"; }
|
|
ROOT=$(dirname $(dirname $(realpath "$0")))
|
|
|
|
"$ROOT/node" ${INSPECT:-} "$ROOT/out/server-main.js" "$@"
|