From d6c2d47f7acf475e2475621612dcb07aac955803 Mon Sep 17 00:00:00 2001 From: Andrei Ovsiankin Date: Fri, 10 May 2024 11:54:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20la?= =?UTF-8?q?unch.json=20=D0=B4=D0=BB=D1=8F=20=D1=81=D1=82=D0=B0=D1=80=D1=82?= =?UTF-8?q?=D0=B0=20=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2=20=D0=B2=20git?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 137 ++++++++++---------- src/VSCode.DebugAdapter/.vscode/launch.json | 10 ++ tests/.vscode/launch.json | 32 +++++ 3 files changed, 110 insertions(+), 69 deletions(-) create mode 100644 src/VSCode.DebugAdapter/.vscode/launch.json create mode 100644 tests/.vscode/launch.json diff --git a/.gitignore b/.gitignore index 4364f2002..23abe6c72 100644 --- a/.gitignore +++ b/.gitignore @@ -1,69 +1,68 @@ -.vs/ -.idea/ -.DS_Store -.vscode/ -tmp/ - -*.vssscc -*.vspscc - -*.suo -*.user -*.sln.iml - -/src/**/[Bb]in/ -/src/**/[Oo]bj/ -[Dd]ebug -[Rr]elease -/*.log - -/src/**/*.exe -/src/**/*.dll -!/src/packages/**/*.dll -*_i.c -*_p.c -*_i.h -*.ilk -*.tlb - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user -JetBrains.ReSharper.CommandLineTools - -# CI and full build|deploy -built/ -*.os.xml -/src/packages/DotNetZip.1.9.3/lib/net20 - -# Snegopat -/src/ScriptEngine.Snegopat/dlldata.c - -# Snegopat autogenerated interfaces -src/ScriptEngine.Snegopat/Snegopat_h.h - -# Песональный вспомагательный скрипт -build.user.bat -src/packages/ -src/DebugServer/node_modules/ -# Visual Studio OpenCover and Test result -src/OpenCover -TestResult.xml -tests/component/Component.dll -tests/tests.xml - -src/oscript/Properties/launchSettings\.json - -*.DotSettings +.vs/ +.idea/ +.DS_Store +tmp/ + +*.vssscc +*.vspscc + +*.suo +*.user +*.sln.iml + +/src/**/[Bb]in/ +/src/**/[Oo]bj/ +[Dd]ebug +[Rr]elease +/*.log + +/src/**/*.exe +/src/**/*.dll +!/src/packages/**/*.dll +*_i.c +*_p.c +*_i.h +*.ilk +*.tlb + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user +JetBrains.ReSharper.CommandLineTools + +# CI and full build|deploy +built/ +*.os.xml +/src/packages/DotNetZip.1.9.3/lib/net20 + +# Snegopat +/src/ScriptEngine.Snegopat/dlldata.c + +# Snegopat autogenerated interfaces +src/ScriptEngine.Snegopat/Snegopat_h.h + +# Песональный вспомагательный скрипт +build.user.bat +src/packages/ +src/DebugServer/node_modules/ +# Visual Studio OpenCover and Test result +src/OpenCover +TestResult.xml +tests/component/Component.dll +tests/tests.xml + +src/oscript/Properties/launchSettings\.json + +*.DotSettings diff --git a/src/VSCode.DebugAdapter/.vscode/launch.json b/src/VSCode.DebugAdapter/.vscode/launch.json new file mode 100644 index 000000000..3a032722f --- /dev/null +++ b/src/VSCode.DebugAdapter/.vscode/launch.json @@ -0,0 +1,10 @@ +{ + "version": "0.1.0", + "configurations": [{ + "name": "Launch Extension", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": ["--extensionDevelopmentPath=${workspaceRoot}"] + }] + } \ No newline at end of file diff --git a/tests/.vscode/launch.json b/tests/.vscode/launch.json new file mode 100644 index 000000000..c952b2feb --- /dev/null +++ b/tests/.vscode/launch.json @@ -0,0 +1,32 @@ +{ + // 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": [ + { + "name": "LINUX: Run via version 2.0", + "type": "oscript", + "request": "launch", + "program": "${workspaceRoot}/testrunner.os", + "args": ["-run", "${file}"], + "cwd": "${workspaceRoot}", + "env": {}, + "runtimeExecutable": "${workspaceRoot}/../src/oscript/bin/LinuxDebug/net6.0/oscript", + "runtimeArgs": [], + "debugPort": 2801 + }, + { + "name": "WINDOWS: Run via version 2.0", + "type": "oscript", + "request": "launch", + "program": "${workspaceRoot}/testrunner.os", + "args": ["-run", "${file}"], + "cwd": "${workspaceRoot}", + "env": {}, + "runtimeExecutable": "${workspaceRoot}/../src/oscript/bin/Debug/net6.0/oscript", + "runtimeArgs": [], + "debugPort": 2801 + } + ] +} \ No newline at end of file