Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@
"esbuild-base": "esbuild ./src/extension.ts --bundle --tsconfig=./tsconfig.json --external:vscode --format=cjs --platform=node --outfile=dist/extension.js",
"watch": "npm run -S esbuild-base -- --sourcemap --sources-content=false --watch",
"esbuild-web": "esbuild ./src/web-extension.ts --bundle --tsconfig=./tsconfig.json --external:vscode --format=cjs --platform=browser --outfile=dist/web-extension.js",
"esbuild-adapter": "esbuild ./src/debugAdapter.ts --bundle --tsconfig=./tsconfig.json --external:vscode --format=cjs --platform=node --outfile=dist/debugAdapter.js",
"watch-web": "npm run -S esbuild-web -- --sourcemap --sources-content=false --watch",
"build": "npm run -S esbuild-base -- --sourcemap --sources-content=false && npm run -S esbuild-web -- --sourcemap --sources-content=false",
"build": "npm run -S esbuild-base -- --sourcemap --sources-content=false && npm run -S esbuild-web -- --sourcemap --sources-content=false && npm run -S esbuild-adapter -- --sourcemap --sources-content=false",
"package": "vsce package",
"publish": "vsce publish",
"publish-pre-release": "vsce publish --pre-release",
Expand Down Expand Up @@ -136,7 +137,7 @@
"markdown"
],
"label": "Mock Debug",
"program": "./out/debugAdapter.js",
"program": "./dist/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
Expand Down
2 changes: 1 addition & 1 deletion src/tests/adapter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {DebugProtocol} from '@vscode/debugprotocol';

suite('Node Debug Adapter', () => {

const DEBUG_ADAPTER = './out/debugAdapter.js';
const DEBUG_ADAPTER = './dist/debugAdapter.js';

const PROJECT_ROOT = Path.join(__dirname, '../../');
const DATA_ROOT = Path.join(PROJECT_ROOT, 'src/tests/data/');
Expand Down