Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Update launch json #49

Merged

Conversation

sebastianrath
Copy link
Contributor

@sebastianrath sebastianrath commented Feb 24, 2021

The VScode runner configurations are now relabeled.

Screen Shot 2021-02-24 at 1 16 34 AM

  • Launch CLI (main.ts)
    If selected, main.ts will be executed. This is the main entry point for the command-line application. Please modify the launch.json (see code-snippet below) to simulate a CLI call. In addition to "args", add "cwd" to set a current working directory. Please note, the startup time for this might take significantly longer than in a final production build.

Example invoke: snow status
https://github.com/Snowtrack/SnowFS/blob/e0a237e5f0d1aa2b404b9441937836b02bfb802d/.vscode/launch.json#L14-L17

  • Launch Test (test/*)
    Execute a unit-test file. Please open and select a test-file from the test directory in the VScode editor, and trigger the execution. Eventually all tests in this file will be executed. To execute all tests of the entire test directory, execute npm run ava from the command-line.

  • Launch Benchmark
    Use to debug benchmarks/snowfs-vs-git.ts. If you are interested in running the actual benchmark, consider to execute npm run benchmarks from the command-line.

@sebastianrath sebastianrath merged commit e0a237e into snowtrack:main Feb 24, 2021
@sebastianrath sebastianrath deleted the bugfix/update-launch-json branch February 24, 2021 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant