code-debug 0.3.0 released (GDB for vscode)

Joel via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Feb 10 18:16:18 PST 2016


On Thursday, 11 February 2016 at 00:34:57 UTC, WebFreak001 wrote:
> On Wednesday, 10 February 2016 at 21:57:49 UTC, Joel wrote:
>> I get this with the debug gear button:
>> {
>> 	"version": "0.2.0",
>> 	"configurations": [
>> 		{
>> 			"name": "Debug",
>> 			"type": "gdb",
>> 			"request": "launch",
>> 			"target": "./output",
>> 			"cwd": "${workspaceRoot}"
>> 		}
>> 	]
>> }
>
> Thats correct. Just change the target to your actual executable 
> and you could debug. If you want to build it before debugging, 
> create a build task and add a preLaunchTask to the config

It says 'Debug adapter process has terminated unexpectedly' on my 
OSX machine.


More information about the Digitalmars-d-announce mailing list