<?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>111 - Disclosure - 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_PE10781---1310-K0007_STD_364_20130628_0</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0000106040</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2012-06-30T00:00:00</PeriodStartDate><PeriodEndDate>2013-06-28T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS /><CurrencyCode /><OriginalCurrencyCode /></MCU><CurrencySymbol /><Labels><Label Key="CalendarSupplement" Id="0" Label="12 Months Ended" /><Label Key="Calendar" Id="1" Label="Jun. 28, 2013" /></Labels></Column></Columns><Rows><Row FlagID="0"><Id>1</Id><IsAbstractGroupTitle>true</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>1</Level><ElementName>us-gaap_DebtDisclosureAbstract</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><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText /><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>xbrli:stringItemType</ElementDataType><SimpleDataType>string</SimpleDataType><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Debt Disclosure [Abstract]</Label></Row><Row FlagID="0"><Id>2</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>2</Level><ElementName>us-gaap_DebtDisclosureTextBlock</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_PE10781---1310-K0007_STD_364_20130628_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;Note&amp;#xA0;3.&amp;#xA0;Debt&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
 &lt;!-- xbrl,body --&gt;
 &lt;p style="MARGIN-TOP: 6px; TEXT-INDENT: 4%; MARGIN-BOTTOM: 0px"&gt;
 &lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;Long-term debt
 consisted of the following as of June&amp;#xA0;28, 2013 and
 June&amp;#xA0;29, 2012 (in millions):&lt;/font&gt;&lt;/p&gt;
 &lt;p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; FONT-SIZE: 12px"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="BORDER-COLLAPSE: collapse" border="0" cellspacing="0" cellpadding="0" width="76%" align="center"&gt;
 &lt;!-- Begin Table Head --&gt;
 &lt;tr&gt;
 &lt;td width="82%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="5%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="5%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1px solid" valign="bottom" colspan="2" align="center"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="1"&gt;&lt;b&gt;2013&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1px solid" valign="bottom" colspan="2" align="center"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="1"&gt;&lt;b&gt;2012&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;!-- End Table Head --&gt;&lt;!-- Begin Table Body --&gt;
 &lt;tr bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="TEXT-INDENT: -1em; MARGIN-LEFT: 1em"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;Term loan&lt;/font&gt;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;1,955&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;&amp;#xA0;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;2,185&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;&amp;#xA0;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td valign="top"&gt;
 &lt;p style="TEXT-INDENT: -1em; MARGIN-LEFT: 1em"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;Less amounts due in one
 year&lt;/font&gt;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;(230&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;)&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;(230&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;)&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="BORDER-TOP: #000000 1px solid"&gt;&amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="BORDER-TOP: #000000 1px solid"&gt;&amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="BORDER-TOP: #000000 1px solid"&gt;&amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="BORDER-TOP: #000000 1px solid"&gt;&amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="TEXT-INDENT: -1em; MARGIN-LEFT: 3em"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;Long-term debt&lt;/font&gt;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;1,725&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;&amp;#xA0;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font size="1"&gt;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;1,955&lt;/font&gt;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;&amp;#xA0;&amp;#xA0;&lt;/font&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="BORDER-TOP: #000000 3px double"&gt;&amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="BORDER-TOP: #000000 3px double"&gt;&amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="BORDER-TOP: #000000 3px double"&gt;&amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="BORDER-TOP: #000000 3px double"&gt;&amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;!-- End Table Body --&gt;&lt;/table&gt;
 &lt;p style="MARGIN-TOP: 12px; TEXT-INDENT: 4%; MARGIN-BOTTOM: 0px"&gt;
 &lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;On the Closing
 Date, the Company, in its capacity as the parent entity and
 guarantor, Western Digital Technologies, Inc. (&amp;#x201C;WDT&amp;#x201D;),
 a wholly owned subsidiary of the Company, and Western Digital
 Ireland, Ltd. (&amp;#x201C;WDI&amp;#x201D;), an indirect wholly owned
 subsidiary of the Company, entered into a five-year credit
 agreement (the &amp;#x201C;Credit Facility&amp;#x201D;) with Bank of America,
 N.A., as administrative agent, swing line lender and letter of
 credit issuer, and certain other participating lenders
 (collectively, the &amp;#x201C;Lenders&amp;#x201D;). The Credit Facility
 provided for $2.8 billion of unsecured loan facilities consisting
 of a $2.3 billion term loan facility and a $500 million revolving
 credit facility. The only borrower under the term loan facility is
 WDI and the revolving credit facility is available to both WDI and
 WDT (WDI and WDT are referred to as &amp;#x201C;the Borrowers&amp;#x201D;).
 The Borrowers may elect to expand the Credit Facility by up to an
 additional $500 million if existing or new lenders provide
 additional term or revolving commitments. The obligations of the
 Borrowers under the Credit Facility are guaranteed by the Company
 and the Company&amp;#x2019;s material domestic subsidiaries, and the
 obligations of WDI under the Credit Facility are also guaranteed by
 WDT.&lt;/font&gt;&lt;/p&gt;
 &lt;p style="MARGIN-TOP: 12px; TEXT-INDENT: 4%; MARGIN-BOTTOM: 0px"&gt;
 &lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;The term loans
 and the revolving credit loans may be prepaid in whole or in part
 at any time without premium or penalty, subject to certain
 conditions. As of June&amp;#xA0;28, 2013, the term loan facility had a
 variable interest rate of 2.2% and a remaining, outstanding balance
 of $2.0 billion. The Company is required to make principal payments
 on the term loan facility totaling $230 million a year for fiscal
 2014 through fiscal 2016, and the remaining $1.3 billion balance
 (subject to adjustment to reflect prepayments or an increase to its
 term loan facility) due and payable in full in fiscal 2017 on
 March&amp;#xA0;8, 2017. As of June&amp;#xA0;28, 2013, $500 million was
 available for future borrowings on the revolving credit
 facility.&lt;/font&gt;&lt;/p&gt;
 &lt;p style="MARGIN-TOP: 12px; MARGIN-BOTTOM: 0px; FONT-SIZE: 1px"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;p style="MARGIN-TOP: 0px; TEXT-INDENT: 4%; MARGIN-BOTTOM: 0px"&gt;
 &lt;font style="FONT-FAMILY: Times New Roman" size="2"&gt;The Credit
 Facility requires the Company to comply with a leverage ratio and
 an interest coverage ratio calculated on a consolidated basis for
 the Company and its subsidiaries. In addition, the Credit Facility
 contains customary covenants, including covenants that limit or
 restrict, subject to certain exceptions, the Company&amp;#x2019;s and
 its subsidiaries&amp;#x2019; ability to incur liens, incur indebtedness,
 make certain restricted payments, merge, consolidate or dispose of
 substantially all of its assets, and enter into certain speculative
 hedging arrangements and make any material change in the nature of
 its business. Upon the occurrence of an event of default under the
 Credit Facility, the administrative agent at the request, or with
 the consent, of the Required Lenders (as defined in the Credit
 Facility) may cease making loans, terminate the Credit Facility and
 declare all amounts outstanding to be immediately due and payable,
 require the cash collateralization of letters of credit and/or
 exercise all other rights and remedies available to it, the Lenders
 and the letter of credit issuer. The Credit Facility specifies a
 number of events of default (some of which are subject to
 applicable grace or cure periods), including, among other things,
 non-payment defaults, covenant defaults, cross-defaults to other
 material indebtedness, bankruptcy and insolvency defaults, material
 judgment defaults and a change of control default. As of
 June&amp;#xA0;28, 2013, the Company was in compliance with all
 covenants.&lt;/font&gt;&lt;/p&gt;
 &lt;!-- xbrl,n --&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 information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.</ElementDefenition><ElementReferences>Reference 1: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 505

 -SubTopic 10

 -Section 50

 -Paragraph 3

 -URI http://asc.fasb.org/extlink&amp;oid=6928386&amp;loc=d3e21475-112644



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

 -Publisher SEC

 -Name Regulation S-X (SX)

 -Number 210

 -Section 02

 -Paragraph 19, 20, 22

 -Article 5



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

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 210

 -SubTopic 10

 -Section S99

 -Paragraph 1

 -Subparagraph (SX 210.5-02.19,20,22)

 -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682



</ElementReferences><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Debt</Label></Row></Rows><Footnotes /><IsEquityReport>false</IsEquityReport><ReportName>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://www.westerndigital.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock</RoleURI><NumberOfCols>1</NumberOfCols><NumberOfRows>2</NumberOfRows></InstanceReport>
