Clarify example

Add launch configuration
pull/2748/head
Alex Dima 7 years ago
parent 198d321805
commit 5f84834ffa

@ -0,0 +1,19 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}/test/",
"name": "Launch Program",
"program": "${workspaceFolder}/node_modules/.bin/webpack",
"args": [
"--config",
"webpack.config.js"
],
}
]
}

@ -1,5 +1,5 @@
import * as monaco from 'monaco-editor';
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
monaco.editor.create(document.getElementById('container'), {
value: 'console.log("Hello, world")',

Loading…
Cancel
Save