On Thursday, 20 July 2017 at 15:31:55 UTC, WebFreak001 wrote:
On Monday, 17 July 2017 at 08:44:46 UTC, Domain wrote:
Could anyone show me how to debug in vscode with mago-mi?
I have installed vscode with Native Debug, SDLang. I have tried dlang-vscode and code-d.

[...]

Is the application actually being put in bin/app.exe? Also try a different debugger (the windows debugger from the C/C++ Extension by Microsoft which uses the visual studio debugger is quite good)

Yes, I have visual studio installed. I can debug with VisualD.
And I can debug with mago-mi from commandline, but not in vs code.
When I click debug button, I can see the debug toolbar,
but it will be gone in seconds. And no breakpoint hit.

My source structure

--|
  |--bin
  |   |--app.exe
  |
  |--src
  |   |--app.d
  |
  |--dub.json
  |
  |--.vscode
  |   |--task.json
  |   |--launch.json
  |
  |--.dub

Reply via email to