How to Debug in VSCode in BC130 on Prem

markclemarkcle Member Posts: 65
edited 2020-02-27 in NAV Tips & Tricks
Hi All

I'm using BC130 and RTC on prem. Here's my launch.json
    "version": "0.2.0",
    "configurations": [
            "type": "al",
            "request": "launch",
            "name": "Dev",
            "server": "",
            "serverInstance": "Dev",
            "authentication": "Windows",
            "startupObjectId": 22,
            "startupObjectType": "Page",
            "breakOnError": true,
            "launchBrowser": false,
            "enableLongRunningSqlStatements": true,
            "enableSqlInformationDebugger": true,
            "schemaUpdateMode": "ForceSync"

Is there a way to get the RTC to open when I press F5. I get this:

Error: Could not open the specified startup page. Please check that the server configuration key PublicWebBaseUrl has been properly set.

If I set a breakpoint in one of my codeunits, it never breaks when the code executes. Is this possible? if not, how do i debug with RTC?


Sign In or Register to comment.