Open fdodino opened 2 years ago
Recién me puse a jugar y agregando una extensión y algunas dependencias extra se puede tener un debugger fácilmente:
stack install haskell-dap ghci-dap haskell-debug-adapter
El archivo de configuración es
{ // 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": "ghc", "request": "launch", "name": "haskell(stack)", "internalConsoleOptions": "openOnSessionStart", "workspace": "${workspaceFolder}", "startup": "${workspaceFolder}/test/CorrerTests.hs", "startupFunc": "", "startupArgs": "", "stopOnEntry": false, "mainArgs": "", "ghciPrompt": "H>>= ", "ghciInitialPrompt": "> ", "ghciCmd": "stack ghci --test --no-load --no-build --main-is TARGET", "ghciEnv": {}, "logFile": "${workspaceFolder}/.vscode/phoityne.log", "logLevel": "WARNING", "forceInspect": false }, ] }
No se qué tanto aportará ... @ludat @JuanFdS, ¿qué opinan?
Recién me puse a jugar y agregando una extensión y algunas dependencias extra se puede tener un debugger fácilmente:
El archivo de configuración es
No se qué tanto aportará ... @ludat @JuanFdS, ¿qué opinan?