File fix-vbnc-debug-portable-cmdline.patch of Package mono-basic
diff -uprN mono-basic-4.6.old/vbnc/vbnc/source/General/CommandLine.vb mono-basic-4.6/vbnc/vbnc/source/General/CommandLine.vb
--- mono-basic-4.6.old/vbnc/vbnc/source/General/CommandLine.vb 2014-09-04 17:56:58.000000000 +0400
+++ mono-basic-4.6/vbnc/vbnc/source/General/CommandLine.vb 2018-03-30 19:18:34.219326245 +0300
@@ -1017,6 +1017,10 @@ Public Class CommandLine
m_eDebugInfo = DebugTypes.Full
Case "pdbonly"
m_eDebugInfo = DebugTypes.PDB
+ Case "portable"
+ If m_eDebugInfo = DebugTypes.None Then
+ m_eDebugInfo = DebugTypes.Full
+ End If
Case ""
m_eDebugInfo = DebugTypes.Full
Case Else