<?xml version="1.0" encoding="us-ascii"?><InstanceReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Version>2.4.0.8</Version><ReportLongName>112 - Disclosure - Related Party Debt</ReportLongName><DisplayLabelColumn>true</DisplayLabelColumn><ShowElementNames>false</ShowElementNames><RoundingOption /><HasEmbeddedReports>false</HasEmbeddedReports><Columns><Column FlagID="0"><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><CurrencyCode /><FootnoteIndexer /><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><MCU><KeyName /><CurrencySymbol /><contextRef><ContextID>eol_PE769749--1310-Q0007_STD_181_20130630_0</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0001425565</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2013-01-01T00:00:00</PeriodStartDate><PeriodEndDate>2013-06-30T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS /><CurrencyCode /><OriginalCurrencyCode /></MCU><CurrencySymbol /><Labels><Label Key="CalendarSupplement" Id="0" Label="6 Months Ended" /><Label Key="Calendar" Id="1" Label="Jun. 30, 2013" /></Labels></Column></Columns><Rows><Row FlagID="0"><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>4</Level><ElementName>us-gaap_RelatedPartyTransactionsDisclosureTextBlock</ElementName><ElementPrefix>us-gaap_</ElementPrefix><IsBaseElement>true</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><PreferredLabelRole>terseLabel</PreferredLabelRole><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="eol_PE769749--1310-Q0007_STD_181_20130630_0" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText>&lt;div&gt;
&lt;p style="margin-top:18px;margin-bottom:0px"&gt;&lt;font style="font-family:Times New Roman" size="2"&gt;&lt;b&gt;5. Related Party
Debt&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top:6px;margin-bottom:0px"&gt;&lt;font style="font-family:Times New Roman" size="2"&gt;The Company&amp;#x2019;s
outstanding related party debt at June&amp;#xA0;30, 2013 consisted of
$2,600 from Gaiam and $4,150 from Riverside.&lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top:12px;margin-bottom:0px"&gt;&lt;font style="font-family:Times New Roman" size="2"&gt;The Gaiam loans mature as
follows: $1,000 on April&amp;#xA0;26, 2014 and $1,600 on April&amp;#xA0;30,
2014. These loans bear interest at an annual rate of 10% and are
subordinated to the Company&amp;#x2019;s SVB Loan. On April&amp;#xA0;23,
2013, the Company entered into a conversion agreement with Gaiam
pursuant to which the principal amount of Gaiam&amp;#x2019;s $1,700
promissory note dated March&amp;#xA0;27, 2013 was reduced by $100 in
exchange for 62,111 shares of Class&amp;#xA0;A common stock. The
conversion ratio was determined based on the closing market price
of the Company&amp;#x2019;s Class&amp;#xA0;A common stock on the date of the
agreement.&lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top:12px;margin-bottom:0px"&gt;&lt;font style="font-family:Times New Roman" size="2"&gt;On May&amp;#xA0;21, 2013, the
Company and Riverside extended the maturity dates of two loans in
the aggregate principal amount of $3,150 made by Riverside to the
Company. The maturity date of a $3,000&amp;#xA0;loan was extended from
May&amp;#xA0;4, 2014 to September&amp;#xA0;3, 2014 and the maturity date of
a $150 loan was extended from June&amp;#xA0;20, 2014 to
October&amp;#xA0;29, 2014. These loans bear interest at an annual rate
of 10% and are subordinated to the Company&amp;#x2019;s SVB
Loan.&lt;/font&gt;&lt;/p&gt;
&lt;p style="font-size:1px;margin-top:12px;margin-bottom:0px"&gt;
&amp;#xA0;&lt;/p&gt;
&lt;p style="margin-top:0px;margin-bottom:0px"&gt;&lt;font style="font-family:Times New Roman" size="2"&gt;Accrued interest on the
Company&amp;#x2019;s related party debt was $479 at June&amp;#xA0;30, 2013;
$111 is reported in accrued liabilities and $368 is reported in
other liabilities on our condensed consolidated balance
sheet.&lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top:12px;margin-bottom:0px"&gt;&lt;font style="font-family:Times New Roman" size="2"&gt;Gaiam and Riverside hold
approximately 13.4% and 25.9% of the Company&amp;#x2019;s outstanding
Class&amp;#xA0;A common stock, respectively. Each is also a creditor of
the Company. Pursuant to the terms of a Shareholders Agreement,
Gaiam and Riverside each has the right to designate a certain
number of individuals for appointment or nomination to our Board of
Directors, tied to their respective ownership of our Class&amp;#xA0;A
common stock.&lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top:12px;margin-bottom:0px"&gt;&lt;font style="font-family:Times New Roman" size="2"&gt;On May&amp;#xA0;28, 2013, Gaiam
sold 6,017,500 shares of the Company&amp;#x2019;s Class&amp;#xA0;A common
shares. On June&amp;#xA0;11, 2013, Gaiam&amp;#x2019;s Chairperson resigned
as the Company&amp;#x2019;s Chairperson. There are no amounts payable to
Gaiam, other than debt and accrued interest, as of June&amp;#xA0;30,
2013.&lt;/font&gt;&lt;/p&gt;
&lt;/div&gt;</NonNumbericText><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>nonnum:textBlockItemType</ElementDataType><SimpleDataType>na</SimpleDataType><ElementDefenition>The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.</ElementDefenition><ElementReferences>Reference 1: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 850

 -SubTopic 10

 -Section 50

 -Paragraph 4

 -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39622-107864



Reference 2: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 850

 -SubTopic 10

 -Section 50

 -Paragraph 3

 -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39603-107864



Reference 3: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 850

 -SubTopic 10

 -Section 50

 -Paragraph 1

 -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39549-107864



Reference 4: http://www.xbrl.org/2003/role/presentationRef

 -Publisher SEC

 -Name Regulation S-X (SX)

 -Number 210

 -Section 04

 -Paragraph b

 -Article 3A



Reference 5: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 235

 -SubTopic 10

 -Section S99

 -Paragraph 1

 -Subparagraph (SX 210.4-08.(k))

 -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690



Reference 6: http://www.xbrl.org/2003/role/presentationRef

 -Publisher SEC

 -Name Regulation S-X (SX)

 -Number 210

 -Section 08

 -Paragraph k

 -Article 4



Reference 7: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 850

 -SubTopic 10

 -Section 50

 -Paragraph 6

 -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39691-107864



Reference 8: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 850

 -SubTopic 10

 -Section 50

 -Paragraph 5

 -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39678-107864



</ElementReferences><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Related Party Debt</Label></Row></Rows><Footnotes /><IsEquityReport>false</IsEquityReport><ReportName>Related Party Debt</ReportName><MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel><SharesRoundingLevel>UnKnown</SharesRoundingLevel><PerShareRoundingLevel>UnKnown</PerShareRoundingLevel><ExchangeRateRoundingLevel>UnKnown</ExchangeRateRoundingLevel><HasCustomUnits>true</HasCustomUnits><IsEmbedReport>false</IsEmbedReport><IsMultiCurrency>false</IsMultiCurrency><ReportType>Sheet</ReportType><RoleURI>http://realgoodssolar.com/taxonomy/role/NotesToFinancialStatementsRelatedPartyTransactionsDisclosureTextBlock</RoleURI><NumberOfCols>1</NumberOfCols><NumberOfRows>1</NumberOfRows></InstanceReport>
