Enable allow breakpoints everywhere option in VSCode settings.
- Open
dap-estgi-vscode-extensionfolder by using theFiles/Open Foldermenu. - Open the
src/extension.tsfile. - press F5 to run the extension in a new VSCode window.
- Open your project folder that was compiled with
ghc-wpcorwpc-plugin - Select the debug view on the side bar
- Click to
create a launch.json file, then selectHaskell DAP ESTGi - Edit the
programfield to be more specific with the application name if the debugee project has multiple executables- If there is only one executable then the default value should work
- A more specific pattern would be:
"program": "${workspaceFolder}/--EXECUTABLE_NAME-ghc_stgapp"
- Start
dapserver:(cd dap-estgi-server ; stack run) - Press F5
