new file mode 100644
--- /dev/null
+++ b/.vscode/c_cpp_properties.json
@@ -0,0 +1,33 @@
+{
+ "configurations": [
+ {
+ "name": "Mac",
+ "includePath": [
+ "/Users/abpostelnicu/Projects/mozilla/obj-ff-osx/dist/include/",
+ "/usr/include/",
+ "/usr/local/include/",
+ "${workspaceRoot}/config/",
+ "${workspaceRoot}/ipc/glue",
+ "${workspaceRoot}/ipc/chromium/src/"
+ ],
+ "clang_format": {
+ "style": "file",
+ "fallback-style": "Mozilla",
+ "sort-includes": "false",
+ "clang_format_path": "/usr/local/bin/clang-format"
+ },
+ "browse": {
+ "limitSymbolsToIncludedHeaders": true,
+ "databaseFilename": "",
+ "path": [
+ "/Users/abpostelnicu/Projects/mozilla/obj-ff-osx/dist/include/",
+ "/usr/include/",
+ "/usr/local/include/",
+ "${workspaceRoot}/config/",
+ "${workspaceRoot}/ipc/glue",
+ "${workspaceRoot}/ipc/chromium/src/"
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,106 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "Mach",
+ "type": "python",
+ "request": "launch",
+ "stopOnEntry": false,
+ "program": "/Users/abpostelnicu/Projects/mozilla/mozilla-central/mach",
+ "cwd": "${workspaceRoot}",
+ "env": {},
+ "args": [
+ "static-analysis",
+ "check",
+ "-c=-*,modernize-use-auto",
+ "js/src/builtin"
+ ],
+ "envFile": "${workspaceRoot}/.env",
+ "debugOptions": [
+ "WaitOnAbnormalExit",
+ "WaitOnNormalExit",
+ "RedirectOutput"
+ ]
+ },
+ {
+ "name": "Mach - tools",
+ "type": "python",
+ "request": "launch",
+ "stopOnEntry": false,
+ "pythonPath": "${config.python.pythonPath}",
+ "program": "/Users/abpostelnicu/Projects/mozilla/mozilla-central/mach",
+ "cwd": "${workspaceRoot}",
+ "env": {},
+ "args": [
+ "artifact",
+ "toolchain",
+ "--from-build",
+ "macosx64-clang-tidy"
+ ],
+ "envFile": "${workspaceRoot}/.env",
+ "debugOptions": [
+ "WaitOnAbnormalExit",
+ "WaitOnNormalExit",
+ "RedirectOutput"
+ ]
+ },
+ {
+ "name": "Firefox/LLDB",
+ "type": "lldb",
+ "request": "launch",
+ "program": "/Users/abpostelnicu/Projects/mozilla/obj-ff-osx/dist/NightlyDebug.app/Contents/MacOS/firefox",
+ "args": ["-no-remote", "-foreground", "-p", "Development"],
+ "stopAtEntry": false,
+ "cwd": "${workspaceRoot}/../obj-ff-osx/dist/bin",
+ "initCommands" : [ ],
+ "stdio" : "*",
+ "terminal" : "external",
+ "env": {
+ "DYLD_LIBRARY_PATH" : ".:./plugins",
+ "LIBRARY_PATH" : ".:./components",
+ "MOZ_XRE_DIR" : "${workspaceRoot}/../obj-ff-osx/dist/bin",
+ "MOZ_LOG" : "MediaDemuxer:5,MediaFormatReader:5,PlatformDecoderModule:5"
+ }
+ },
+ {
+ "name": "Firefox/Debug",
+ "type": "cppdbg",
+ "request": "launch",
+ "program": "/Users/abpostelnicu/Projects/mozilla/obj-ff-osx/dist/NightlyDebug.app/Contents/MacOS/firefox",
+ //"args": ["-no-remote", "-foreground", "-p", "MozillaDebug"],
+ "args": ["-p", "MozillaDebug"],
+ "stopAtEntry": false,
+ "cwd": "${workspaceRoot}/../obj-ff-osx/dist/bin",
+ /*"environment": [
+ { "name": "MOZ_LOG", "value": "MediaSource:5,MediaSourceSamples:5" }
+ ],*/
+ //"externalConsole": true,
+ "osx": {
+ "MIMode": "lldb"
+ },
+ "linux": {
+ "MIMode": "gdb"
+ },
+ "windows": {
+ "MIMode": "gdb",
+ "miDebuggerPath": "C:\\MinGw\\bin\\gdb.exe"
+ }
+ },
+ {
+ "name": "Firefox Attach",
+ "type": "cppdbg",
+ "request": "attach",
+ "program": "/Users/abpostelnicu/Projects/mozilla/obj-ff-osx/dist/NightlyDebug.app/Contents/MacOS/firefox",
+ "processId": "${command.pickProcess}",
+ "linux": {
+ "MIMode": "gdb"
+ },
+ "osx": {
+ "MIMode": "lldb"
+ },
+ "windows": {
+ "MIMode": "gdb"
+ }
+ }
+ ]
+}
\ No newline at end of file