<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>14</ContextCount>
  <ElementCount>8</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>13</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>0</UnitCount>
  <MyReports>
    <Report instance="fp0097131-1_ncsrixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995470 - Disclosure - N-2</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cef/role/N2</Role>
      <ShortName>N-2</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="N-CSR" isDefinitelyNotFs="true" isNcsr="true" isUsgaap="true" original="fp0097131-1_ncsrixbrl.htm">fp0097131-1_ncsrixbrl.htm</File>
    <File>pdcc-20251231.xsd</File>
    <File>pdcc-20251231_def.xml</File>
    <File>pdcc-20251231_lab.xml</File>
    <File>pdcc-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>fp0097131-1_01.jpg</File>
    <File>fp0097131-1_02.jpg</File>
    <File>fp0097131-1_03.jpg</File>
    <File>fp0097131-1_04.jpg</File>
    <File>fp0097131-1_05.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="14">http://xbrl.sec.gov/cef/2025</BaseTaxonomy>
    <BaseTaxonomy items="6">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
