task.json
{
// See
https://go.microsoft.com/fwlink/?LinkId=733558
// for the
documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "javac",
"args": [
"-g",
"-d",
"bin",
"${file}"
]
},
{
"label": "run",
"command": "java",
"args": [
"-classpath",
"./bin",
"Main"
]
}
]
}
launch.json
{
// Use IntelliSense
to learn about possible attributes.
// Hover to view
descriptions of existing attributes.
// For more
information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug
(Launch)",
"request": "launch",
"mainClass": "Main",
"args": "",
"classPaths": [
"./bin"
]
},
{
"type": "java",
"name": "Debug
(Attach)",
"request": "attach",
"hostName": "localhost",
"port": 0
}
]
}
Комментариев нет:
Отправить комментарий