mirror of https://github.com/dsrw/enu.git
145 lines
4.6 KiB
JSON
145 lines
4.6 KiB
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": "lldb",
|
|
"request": "launch",
|
|
"name": "Client: Build and Debug",
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.osx.opt.tools.arm64",
|
|
"env": {
|
|
"ENU_CONNECT_ADDRESS": "127.0.0.1",
|
|
"ENU_METRICS_PORT": "8001"
|
|
},
|
|
"windows": {
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.windows.opt.tools.64"
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}/app",
|
|
"preLaunchTask": "Build enu",
|
|
"initCommands": [
|
|
"script import shutil;sys.path.append(os.path.join(shutil.which('nim'), '../../tools/debug'))",
|
|
"command script import nimlldb"
|
|
],
|
|
"presentation": {
|
|
"clear": true // <-- this line
|
|
}
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Host: Build and Debug",
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.osx.opt.tools.arm64",
|
|
"env": {
|
|
"ENU_LISTEN_ADDRESS": "0.0.0.0",
|
|
"ENU_METRICS_PORT": "8000"
|
|
},
|
|
"windows": {
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.windows.opt.tools.64"
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}/app",
|
|
"preLaunchTask": "Build enu",
|
|
"initCommands": [
|
|
"script import shutil;sys.path.append(os.path.join(shutil.which('nim'), '../../tools/debug'))",
|
|
"command script import nimlldb"
|
|
],
|
|
"presentation": {
|
|
"clear": true // <-- this line
|
|
}
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Client: Debug",
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.osx.opt.tools.arm64",
|
|
"env": {
|
|
"ENU_CONNECT_ADDRESS": "127.0.0.1",
|
|
"ENU_METRICS_PORT": "8001"
|
|
},
|
|
"windows": {
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.windows.opt.tools.64"
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}/app",
|
|
"initCommands": [
|
|
"script import shutil;sys.path.append(os.path.join(shutil.which('nim'), '../../tools/debug'))",
|
|
"command script import nimlldb"
|
|
],
|
|
"presentation": {
|
|
"clear": true // <-- this line
|
|
}
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Host: Debug",
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.osx.opt.tools.arm64",
|
|
"env": {
|
|
"ENU_LISTEN_ADDRESS": "0.0.0.0",
|
|
"ENU_METRICS_PORT": "8000"
|
|
},
|
|
"windows": {
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.windows.opt.tools.64"
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}/app",
|
|
"initCommands": [
|
|
"script import shutil;sys.path.append(os.path.join(shutil.which('nim'), '../../tools/debug'))",
|
|
"command script import nimlldb"
|
|
],
|
|
"presentation": {
|
|
"clear": true // <-- this line
|
|
}
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Enu: Debug",
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.osx.opt.tools.arm64",
|
|
"windows": {
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.windows.opt.tools.64"
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}/app",
|
|
"initCommands": [
|
|
"script import shutil;sys.path.append(os.path.join(shutil.which('nim'), '../../tools/debug'))",
|
|
"command script import nimlldb"
|
|
],
|
|
"presentation": {
|
|
"clear": true // <-- this line
|
|
}
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug Current file",
|
|
"program": "${relativeFileDirname}/${fileBasenameNoExtension}.out",
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}",
|
|
"preLaunchTask": "Build Current File",
|
|
"initCommands": [
|
|
"script import shutil;sys.path.append(os.path.join(shutil.which('nim'), '../../tools/debug'))",
|
|
"command script import nimlldb"
|
|
],
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "attach",
|
|
"name": "Attatch to Enu",
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.osx.opt.tools.arm64",
|
|
"windows": {
|
|
"program": "${workspaceFolder}/vendor/godot/bin/godot.windows.opt.tools.64"
|
|
},
|
|
"initCommands": [
|
|
"script import shutil;sys.path.append(os.path.join(shutil.which('nim'), '../../tools/debug'))",
|
|
"command script import nimlldb"
|
|
],
|
|
"presentation": {
|
|
"clear": true // <-- this line
|
|
}
|
|
}
|
|
]
|
|
} |