Add VSCode debug example #892
No reviewers
Labels
No Label
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#892
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "dstepanov-yadro/frostfs-node:feat/devenv"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Added example of the debug configuration for VSCode. I hope it will simplify newcomers life.
fb88c5f675
to2b00ba74be
@ -236,1 +239,4 @@
dh clean
locode-download:
@wget -q -O ./.cache/locode_db.gz 'https://git.frostfs.info/attachments/a2e8def7-52b6-49f1-89cd-a056712e8e54'
Would it be more efficient to have a variable pointing to a specific version, providing a way to override it, or possibly detecting the latest release available?
Fixed
@ -79,0 +87,4 @@
```
/
├── src
├── frostfs-node
Gitea shows warnings for unprintable symbols, don'w we have just tabs here?
fixed
@ -0,0 +53,4 @@
"FROSTFS_TREE_ENABLED":"true",
"FROSTFS_OBJECT_DELETE_TOMBSTONE_LIFETIME":"10",
"FROSTFS_STORAGE_SHARD_0_WRITECACHE_ENABLED":"true",
"FROSTFS_STORAGE_SHARD_0_WRITECACHE_PATH":"${workspaceFolder}/.cache/storage/wc0",
Why is neo-go config in YAML, and IR/storage in ENV strings?
This is done so that there are no unnecessary
config
files, butneo-go
doesn't support env-configs.Also developers can change storage-node and IR settings in
.vscode/launch.json
and this changes will not be committed.2b00ba74be
tob736357266
b736357266
to80d7f19ccf
@ -236,1 +240,4 @@
dh clean
locode-download:
@wget -q -O ./.cache/locode_db.gz 'https://git.frostfs.info/TrueCloudLab/frostfs-locode-db/releases/download/${LOCODE_DB_VERSION}/locode_db.gz'
Don't we also need to invoke
frostfs-cli locode generate
?This is done by: https://git.frostfs.info/TrueCloudLab/frostfs-locode-db/src/branch/master/Makefile