phoityne-vscode: ghci debug viewer on Visual Studio Code

[ bsd3, development, program ] [ Propose Tags ]

Please see README.md


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1.0, 0.0.2.0, 0.0.3.0, 0.0.4.0, 0.0.5.0, 0.0.6.0, 0.0.7.0, 0.0.8.0, 0.0.9.0, 0.0.10.0, 0.0.11.0, 0.0.12.0, 0.0.13.0, 0.0.14.0, 0.0.15.0, 0.0.16.0, 0.0.17.0, 0.0.18.0, 0.0.19.0, 0.0.20.0, 0.0.21.0, 0.0.22.0, 0.0.23.0, 0.0.24.0, 0.0.25.0, 0.0.26.0, 0.0.27.0, 0.0.28.0
Change log Changelog.md
Dependencies aeson, base (>=4.7 && <5), bytestring, Cabal, cmdargs, conduit, conduit-extra, ConfigFile, containers, directory, filepath, hslogger, HStringTemplate, MissingH, mtl, parsec, process, resourcet, safe, split, text, transformers [details]
License BSD-3-Clause
Copyright 2016 phoityne_hs
Author phoityne_hs
Maintainer phoityne.hs@gmail.com
Category Development
Home page https://sites.google.com/site/phoityne/
Uploaded by phoityne_hs at 2016-05-03T03:51:33Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables phoityne-vscode
Downloads 18669 total (83 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-11-26 [all 3 reports]

Readme for phoityne-vscode-0.0.1.0

[back to package description]

Phoityne VSCode

Phoityne is a ghci debug viewer for Visual Studio Code. (on Windows)

Debug on VSCode

  1. Start VSCode
  2. Open stack project folder
  3. Open debug view
  4. Open launch.json
  5. Set startup source file. Default file is test/Spec.hs
  6. Run debug(F5)

Document

Install

Run stack install

% stack new project
  . . . . .
%
% cd project
% stack install phoityne-vscode
  . . . . .
%

Prepare vscode extensions

  1. create folder "%USERPROFILE%.vscode\extensions\phoityne-vscode"
  2. copy "phoityne-vscode-0.0.1.0\vscode\package.json"(*) to "%USERPROFILE%.vscode\extensions\phoityne-vscode"
  3. copy "%USERPROFILE%\AppData\Roaming\local\bin\phoityne-vscode.exe" to "%USERPROFILE%.vscode\extensions\phoityne-vscode"

(*) download by stack unpack.

% stack unpack phoityne-vscode
%

Important

  • need c:\temp folder. phoityne.log file will be created.
  • breakpoint can be set in a .hs file which defineds "module ... where".
  • source file extension must be ".hs"