Windows 11 need helloworld project that debugs on VSCode

Brother Bill brotherbill at mail.com
Sun Dec 7 23:31:57 UTC 2025


On Sunday, 7 December 2025 at 22:48:53 UTC, Sergey wrote:
> On Sunday, 7 December 2025 at 22:44:27 UTC, Sergey wrote:
>> On Sunday, 7 December 2025 at 22:27:05 UTC, Brother Bill wrote:
>>> Did vanilla install for Window 11 from dlang.org.
>>
>> Seems fine.
>> Maybe just check that you also have tasks.json:
>> ```
>> {
>>     "version": "2.0.0",
>>     "tasks": [
>>         {
>>             "label": "build",
>>             "command": "dub",
>>             "args": [
>>                 "build"
>>             ]
>>         }
>>     ]
>> }
>> ```
>>
>> And that CodeLLDB extension is installed in the VSCode.
>
> Also to launch.json try to add:
> ```
> "console": "internalConsole",
> ```

Getting closer, as Greetings! is written to DEBUG CONSOLE, along 
with many other compilation messages.  Would prefer it be written 
to TERMINAL tab.

How can that be accomplished?

dub.d
```
{
	"authors": [
		"broth"
	],
	"copyright": "Copyright © 2025, broth",
	"description": "A minimal D application.",
	"license": "proprietary",
	"name": "c48_1c_special_keywords_as_default_arguments",
	"buildOptions-windows": ["debugInfoC"]
}
```

launch.json
```
{
     // Use IntelliSense to learn about possible attributes.
     // Hover to view descriptions of existing attributes.
     // For more information, visit: 
https://go.microsoft.com/fwlink/?linkid=830387
     "version": "0.2.0",
     "configurations": [
         {
             "type": "code-d",
             "request": "launch",
             "dubBuild": true,
             "name": "Build & Debug DUB project",
             "cwd": "${command:dubWorkingDirectory}",
             "program": "${command:dubTarget}"
         }
     ],
     "console": "internalConsole"
}
```


It would be nicer


More information about the Digitalmars-d-learn mailing list