This paper analyzes the dynamics of public debt in a simple two-period overlapping-generations model of endogenous growth with productive public goods. Alternative fiscal rules are defined, with particular attention devoted to the golden rule. Conditions under which multiple equilibria may emerge are characterized. The analysis is then extended to consider the case of partial depreciation, an endogenous risk premium, an endogenous primary surplus rule, a generalized golden rule, a nonseparable utility function, and network externalities. If network effects are sufficiently strong, an increase in public investment may shift the economy from a low-growth equilibrium to a steady state characterized by both higher public debt ratios and higher output growth. This shift may enhance welfare as well. These results illustrate the importance of preserving, even in a context of fiscal retrenchment, the allocation of resources to specific types of public investment.