Skip to content

Commit

Permalink
Force color in RTT output when running in background (#79)
Browse files Browse the repository at this point in the history
* Force color in RTT output when running in background

* fix prettier stuff

* prettier with updated local version
  • Loading branch information
noppej authored Jan 22, 2024
1 parent 07fc7aa commit 5d1d37f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "probe-rs-debugger",
"displayName": "Debugger for probe-rs",
"version": "0.22.0",
"version": "0.22.1",
"publisher": "probe-rs",
"description": "probe-rs Debug Adapter for VS Code.",
"author": {
Expand Down Expand Up @@ -51,6 +51,7 @@
"publish": "vsce publish --no-yarn --skip-duplicate",
"un-publish": "vsce unpublish",
"login": "vsce login probe-rs",
"run-prettier": "prettier --write .",
"pretest": "npm run compile && npm run lint && npm run typecheck && prettier --check .",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
Expand Down
3 changes: 3 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@ class ProbeRSDebugAdapterServerDescriptorFactory implements vscode.DebugAdapterD
windowsHide: true,
};

// Force the debugger to generate
options.env.CLICOLOR_FORCE = '1';

var command = '';
if (!executable) {
if (session.configuration.hasOwnProperty('runtimeExecutable')) {
Expand Down

0 comments on commit 5d1d37f

Please sign in to comment.