<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SAP Business Application Studio CAP project (node.js) debug issue in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273318#M4597802</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can create a CAP Node run configuration via the Run Configurations view, and debug your application using it.&lt;/P&gt;&lt;P&gt;See &lt;A href="https://developers.sap.com/tutorials/appstudio-cap-app.html" target="test_blank"&gt;https://developers.sap.com/tutorials/appstudio-cap-app.html&lt;/A&gt; Step 6.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Liat&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2020 13:24:32 GMT</pubDate>
    <dc:creator>liat_b</dc:creator>
    <dc:date>2020-10-16T13:24:32Z</dc:date>
    <item>
      <title>SAP Business Application Studio CAP project (node.js) debug issue</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaq-p/12273317</link>
      <description>&lt;P&gt;Debugger does not get auto-attach to the running node server, so I am not able to stop at the breakpoint set in server.js file. I used with a fresh project also by 'cds init ..".&lt;/P&gt;
  &lt;P&gt;The default launch.json file has error as shown below.&lt;/P&gt;
  &lt;P&gt;1. 'command is not allowed'&lt;/P&gt;
  &lt;P&gt;2. type node-terminal is not a recognized debug-type.&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1850856-debugbas.png"&gt;debugbas.png&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1850857-debugbascap.png"&gt;debugbascap.png&lt;/A&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;//launch.json file:


{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: &lt;A href="https://go.microsoft.com/fwlink/?linkid=830387" target="test_blank"&gt;https://go.microsoft.com/fwlink/?linkid=830387&lt;/A&gt;
  "version": "0.2.0",
  "configurations": [
    {
      "command": "cds run --with-mocks --in-memory?",
      "name": "cds run",
      "request": "launch",
      "type": "node-terminal",
      "skipFiles": [
        "&amp;lt;node_internals&amp;gt;/**"
      ]
    }
  ]
}

&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;CDS v output below:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;user: my-test $ cds v
@sap/cds: 4.1.9
@sap/cds-compiler: 1.39.0
@sap/cds-dk: 3.0.0
@sap/cds-foss: 2.0.0
@sap/cds-reflect: 2.13.0
@sap/cds-runtime: 2.3.0
Node.js: v10.22.1
home: /home/user/.node_modules_global/lib/node_modules/@sap/cds-dk/node_modules/@sap/cds
my-test: 1.0.0
undefined: -- missing --
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Oct 2020 12:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaq-p/12273317</guid>
      <dc:creator>SumitKundu</dc:creator>
      <dc:date>2020-10-16T12:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Business Application Studio CAP project (node.js) debug issue</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273318#M4597802</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can create a CAP Node run configuration via the Run Configurations view, and debug your application using it.&lt;/P&gt;&lt;P&gt;See &lt;A href="https://developers.sap.com/tutorials/appstudio-cap-app.html" target="test_blank"&gt;https://developers.sap.com/tutorials/appstudio-cap-app.html&lt;/A&gt; Step 6.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Liat&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 13:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273318#M4597802</guid>
      <dc:creator>liat_b</dc:creator>
      <dc:date>2020-10-16T13:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Business Application Studio CAP project (node.js) debug issue</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273319#M4597803</link>
      <description>&lt;P&gt;Thanks that worked. Anyway, I still expect some pairity between the launch config generated from BAS graphical run config wizard and the one created by default from cds cli.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 09:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273319#M4597803</guid>
      <dc:creator>SumitKundu</dc:creator>
      <dc:date>2020-10-17T09:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Business Application Studio CAP project (node.js) debug issue</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273320#M4597804</link>
      <description>&lt;P&gt;I agree. The default configuration should work by default as well. We will look into that.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Liat&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 05:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273320#M4597804</guid>
      <dc:creator>liat_b</dc:creator>
      <dc:date>2020-10-18T05:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Business Application Studio CAP project (node.js) debug issue</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273321#M4597805</link>
      <description>&lt;P&gt;Hi Liat,&lt;/P&gt;&lt;P&gt;after 1 year and 9 month any progress on this topic?&lt;/P&gt;&lt;P&gt;Best Regards&lt;BR /&gt;Gregor&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 19:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273321#M4597805</guid>
      <dc:creator>gregorw</dc:creator>
      <dc:date>2022-06-09T19:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Business Application Studio CAP project (node.js) debug issue</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273322#M4597806</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;joerg.mann&lt;/SPAN&gt; the default configuration is generated by the cds generator.&lt;BR /&gt;Could you please take a look at the described issue?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Liat&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 09:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-business-application-studio-cap-project-node-js-debug-issue/qaa-p/12273322#M4597806</guid>
      <dc:creator>liat_b</dc:creator>
      <dc:date>2022-07-10T09:29:00Z</dc:date>
    </item>
  </channel>
</rss>

