diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 698a159f..9c82b403 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -1,6 +1,7 @@
2.0.0-local
+ $(Version)
PepperDash Technologies
PepperDash Technologies
PepperDash Essentials
diff --git a/src/PepperDash.Essentials.Core/PepperDash.Essentials.Core.csproj b/src/PepperDash.Essentials.Core/PepperDash.Essentials.Core.csproj
index c90612d9..ab2751d8 100644
--- a/src/PepperDash.Essentials.Core/PepperDash.Essentials.Core.csproj
+++ b/src/PepperDash.Essentials.Core/PepperDash.Essentials.Core.csproj
@@ -26,7 +26,7 @@
Full
-
+
diff --git a/src/PepperDash.Essentials.Core/Web/RequestHandlers/DebugSessionRequestHandler.cs b/src/PepperDash.Essentials.Core/Web/RequestHandlers/DebugSessionRequestHandler.cs
index 725d9fb1..f97ed31d 100644
--- a/src/PepperDash.Essentials.Core/Web/RequestHandlers/DebugSessionRequestHandler.cs
+++ b/src/PepperDash.Essentials.Core/Web/RequestHandlers/DebugSessionRequestHandler.cs
@@ -42,12 +42,7 @@ namespace PepperDash.Essentials.Core.Web.RequestHandlers
var port = 0;
- if(Debug.WebsocketSink == null)
- {
- Debug.Console(0, "WebsocketSink is null");
- }
-
- if (!Debug.WebsocketSink.IsListening)
+ if (!Debug.WebsocketSink.IsRunning)
{
Debug.Console(0, "Starting WS Server");
// Generate a random port within a specified range
@@ -56,11 +51,15 @@ namespace PepperDash.Essentials.Core.Web.RequestHandlers
Debug.WebsocketSink.StartServerAndSetPort(port);
}
+ var url = Debug.WebsocketSink.Url;
+
object data = new
{
- url = string.Format(@"wss://{0}:{1}", ip, Debug.WebsocketSink.Port)
+ url = Debug.WebsocketSink.Url
};
+ Debug.Console(0, "Debug Session URL: {0}", url);
+
// Return the port number with the full url of the WS Server
var res = JsonConvert.SerializeObject(data);
diff --git a/src/PepperDash.Essentials.Devices.Common/PepperDash.Essentials.Devices.Common.csproj b/src/PepperDash.Essentials.Devices.Common/PepperDash.Essentials.Devices.Common.csproj
index 5ffd68fa..5d269def 100644
--- a/src/PepperDash.Essentials.Devices.Common/PepperDash.Essentials.Devices.Common.csproj
+++ b/src/PepperDash.Essentials.Devices.Common/PepperDash.Essentials.Devices.Common.csproj
@@ -31,6 +31,6 @@
Full
-
+
\ No newline at end of file
diff --git a/src/PepperDash.Essentials/PepperDash.Essentials.csproj b/src/PepperDash.Essentials/PepperDash.Essentials.csproj
index aaf9b878..023a0911 100644
--- a/src/PepperDash.Essentials/PepperDash.Essentials.csproj
+++ b/src/PepperDash.Essentials/PepperDash.Essentials.csproj
@@ -51,7 +51,7 @@
Full
-
+