builder and vscode launcher
This commit is contained in:
parent
fe44723739
commit
9c9ab7fdb4
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
// Usare IntelliSense per informazioni sui possibili attributi.
|
||||||
|
// Al passaggio del mouse vengono visualizzate le descrizioni degli attributi esistenti.
|
||||||
|
// Per altre informazioni, visitare: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
|
||||||
|
{
|
||||||
|
"type": "java",
|
||||||
|
"name": "Debug Service (Attach)",
|
||||||
|
"projectName": "social-service",
|
||||||
|
"request": "attach",
|
||||||
|
"hostName": "localhost",
|
||||||
|
"port": 5005
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"type": "java",
|
||||||
|
"name": "Current File",
|
||||||
|
"request": "launch",
|
||||||
|
"mainClass": "${file}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"java.configuration.updateBuildConfiguration": "automatic"
|
"java.configuration.updateBuildConfiguration": "automatic",
|
||||||
|
"java.compile.nullAnalysis.mode": "automatic"
|
||||||
}
|
}
|
|
@ -93,6 +93,7 @@ while getopts $OPTSTRING opt; do
|
||||||
d)
|
d)
|
||||||
DEBUG=true
|
DEBUG=true
|
||||||
DEBUG_PORT=${OPTARG}
|
DEBUG_PORT=${OPTARG}
|
||||||
|
EXECUTE=true ;
|
||||||
echo "debug enabled, port $DEBUG_PORT, execute $EXECUTE"
|
echo "debug enabled, port $DEBUG_PORT, execute $EXECUTE"
|
||||||
;;
|
;;
|
||||||
j)
|
j)
|
||||||
|
@ -109,7 +110,7 @@ while getopts $OPTSTRING opt; do
|
||||||
if [ ${OPTARG} = "d" ]; then
|
if [ ${OPTARG} = "d" ]; then
|
||||||
DEBUG=true
|
DEBUG=true
|
||||||
EXECUTE=true
|
EXECUTE=true
|
||||||
echo "debug enabled, port $DEBUG_PORT"
|
echo "debug enabled, not default debug port $DEBUG_PORT, execute $EXECUTE"
|
||||||
else
|
else
|
||||||
# matched when an option that is expected to have an argument is passed without one
|
# matched when an option that is expected to have an argument is passed without one
|
||||||
echo "Option -${OPTARG} requires an argument."
|
echo "Option -${OPTARG} requires an argument."
|
||||||
|
|
Loading…
Reference in New Issue