Skip to content

Commit

Permalink
Merge pull request #4 from SuessLabs/feature/LaunchBuilder
Browse files Browse the repository at this point in the history
Add launch.json to remotely debug
  • Loading branch information
DamianSuess authored Mar 30, 2022
2 parents c12472a + afc1175 commit 7832a16
Show file tree
Hide file tree
Showing 37 changed files with 943 additions and 1,526 deletions.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This project was inspired by [VS Mono Debugger](https://github.com/GordianDotNet
Now developers can build, deploy and debug projects on their remote Linux (Ubuntu, Raspberry PI, etc) devices! Customize your SSH connection to use either a _password_ or a _private key_.

### Work in Progress

This project is currently in the early alpha stages, so only Building and Deployment is available. This extension aims to allow you to automatically attach for debugging over the network. For now, that step is still manual. On the plus side, we just saved you 1.5 min of manual upload and `chown -R`.

### Usage
Expand All @@ -37,7 +38,7 @@ In order to get this project moving, the following must be done.
* [X] Store settings (globally; per-project)
* [X] IP, User, Pass, default-folder `"~/VsLinuxDbg/(proj-name)"`
* [X] Perform upload to remote machine
* [ ] Attach to process
* [ ] Attach to process - _in testing phase_

## Developers Wanted

Expand Down
2 changes: 1 addition & 1 deletion sandbox/ConsoleApp.sln → sandbox/ConsoleNet5.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32317.152
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{7342FB7C-71DF-4282-889B-83E189FCBF55}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleNet5", "ConsoleNet5\ConsoleNet5.csproj", "{7342FB7C-71DF-4282-889B-83E189FCBF55}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
10 changes: 10 additions & 0 deletions sandbox/ConsoleNet5/ConsoleNet5.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<!--<ImplicitUsings>enable</ImplicitUsings>-->
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
18 changes: 18 additions & 0 deletions sandbox/ConsoleNet5/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;

namespace ConsoleNet5
{
public class Program
{
public static void Main(string[] args)
{
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello .NET 5, VS Linux Debugger!");

Console.WriteLine("Apply breakpoint here!");

Console.WriteLine("Press anykey to exit..");
var x = Console.ReadLine();
}
}
}
25 changes: 25 additions & 0 deletions sandbox/ConsoleNet6.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32317.152
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleNet6", "ConsoleNet6\ConsoleNet6.csproj", "{7342FB7C-71DF-4282-889B-83E189FCBF55}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7342FB7C-71DF-4282-889B-83E189FCBF55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7342FB7C-71DF-4282-889B-83E189FCBF55}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7342FB7C-71DF-4282-889B-83E189FCBF55}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7342FB7C-71DF-4282-889B-83E189FCBF55}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FD190C6A-36C9-416E-8BB1-E1C7421B6661}
EndGlobalSection
EndGlobal
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello from, VS Linux Debugger!");
Console.WriteLine("Hello .NET 6, VS Linux Debugger!");

Console.WriteLine("Apply breakpoint here!");

Expand Down
30 changes: 0 additions & 30 deletions sandbox/TestLinuxDbg.sln

This file was deleted.

125 changes: 0 additions & 125 deletions sandbox/src/Extensions.cs

This file was deleted.

148 changes: 0 additions & 148 deletions sandbox/src/LocalHost.cs

This file was deleted.

Loading

0 comments on commit 7832a16

Please sign in to comment.